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: 5447

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: 5447

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: 5447

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: 5670

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 adequat...