DOM XML adding extra characters when processing xslt?
Posted: Sat Apr 23, 2005 4:27 pm
I'm very new to this, and trying to get a package developed by someone else to work the way I want it to... so please bear with me.
My understanding is that DOM XML processes an XML file and presents the output according to an XSL template. The XML file includes the result of a sql query, and has some items from the database that have ™ included in them. When that file is processed, the output has extra characters.
For example:
In the database, I have contents of a field that are "This New Thing™". I have verified that the XML file that is produced by the query shows that data as "This New Thing™". However, after processing the XML file according to the XSL template, the result that ends up on my webpage is "This New Thing™".
Is there an easy way to fix this? Can I just add some code to the XSL template? Or is it a lot more complicated than that?
Thanks,
Scott
My understanding is that DOM XML processes an XML file and presents the output according to an XSL template. The XML file includes the result of a sql query, and has some items from the database that have ™ included in them. When that file is processed, the output has extra characters.
For example:
In the database, I have contents of a field that are "This New Thing™". I have verified that the XML file that is produced by the query shows that data as "This New Thing™". However, after processing the XML file according to the XSL template, the result that ends up on my webpage is "This New Thing™".
Is there an easy way to fix this? Can I just add some code to the XSL template? Or is it a lot more complicated than that?
Thanks,
Scott