XSL transformation gives me a "?"

Here should go questions about transforming XML with XSLT and FOP.
danmat46
Posts: 2
Joined: Fri Sep 26, 2008 11:24 am

XSL transformation gives me a "?"

Post by danmat46 »

Hello,
I am having a problem when I transform an XML document with my XSL.

Everything works ok except when one of my XML tags contains a square character (carriage return) it outputs a ? in my newly transformed tag.

I guess that I need to test for the existance of the carriage return with a choose > test="Contains()" statement but I can't seem to find the entity reference for this?

Any help welcomed!

Thank you
Dan
Posts: 501
Joined: Mon Feb 03, 2003 10:56 am

Re: XSL transformation gives me a "?"

Post by Dan »

Usually the square character is displayed when there is a problem with the encoding of the XML file. (the code is mapped to another character)

You can verify the code of the character by opening the file in oXygen and placing the caret before the square character - the editor status bar should display the code: "U+000D" (carriage return)

Regards,
Dan
Post Reply