Page 1 of 1

XSL transformation gives me a "?"

Posted: Wed Oct 01, 2008 4:45 pm
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

Re: XSL transformation gives me a "?"

Posted: Wed Oct 01, 2008 5:14 pm
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