Search found 4 matches

by Toralion
Wed Oct 25, 2006 10:30 am
Forum: XSLT and FOP
Topic: Differences calling Saxon8B (outof Oxygen/Java-Application)
Replies: 3
Views: 4401

That was an encoding problem. When you use StreamSource you will get the default platform encoding. When you use SaxSource the encoding will be detected from the file. Best Regards, George Ah yes, I kind of thought that also I expected that the encoding would be the one I safed the file with... nev...
by Toralion
Tue Oct 24, 2006 10:31 pm
Forum: XSLT and FOP
Topic: Differences calling Saxon8B (outof Oxygen/Java-Application)
Replies: 3
Views: 4401

Ha! I fixed the problem today. The problem was the way I read the xml. When I use StreamSource to read the xmlFile I get the mentioned problem. --> Source source = new StreamSource(xmlFile); The Solution was to use a SAXSource to read the xml --> Source source = new SaxSource(xmlFile); So long, Tora...
by Toralion
Mon Oct 23, 2006 7:08 pm
Forum: XSLT and FOP
Topic: Differences calling Saxon8B (outof Oxygen/Java-Application)
Replies: 3
Views: 4401

Differences calling Saxon8B (outof Oxygen/Java-Application)

Hello, I try to convert xml to rtf and have problems converting unicode characters to ansi (rtf allows only ansi chars). For that purpose I have to convert any char above codepoint 255 into its numeric value (string-to-codepoints) and write it (under the rules of rtf) into my target document. The pr...
by Toralion
Fri Jan 13, 2006 1:30 pm
Forum: XSLT and FOP
Topic: How to generate codepoints with xslt 1.0
Replies: 0
Views: 4835

How to generate codepoints with xslt 1.0

Hello, I 'm searching for a solution to create unicode codepoints with xslt 1.0 (converting xml2rtf). XSLT 2.0 (or rather Xpath2) provides a function "string-to-codepoint" but unfortunately I have to use 1.0. Does anyone know any other solution to convert a unicode character to the adequate number? ...