Hi all
I'm new to XML.
I'm supporting a website that displays XML pulled out of a database.
The problem is that some rows in the database in a particular field that is returned contain the registered trade mark symbol (<Item>NyItemNameTM</Item>).
I have pulled sample XML out and changed the symbol into ™ - which works fine. I understand that the symbol is not a valid character in XML.
The problem is that I don't know how to automate this process - I have no control over what data is in the database, or what data is returned.
I'm guessing this has something to do with transformation in the xsl or xslt stylesheets, but I'm a little bit lost.
Any guidance, including links to good reading on this topic, would be much appreciated.
Thanks
Earth
I'm new to XML.
I'm supporting a website that displays XML pulled out of a database.
The problem is that some rows in the database in a particular field that is returned contain the registered trade mark symbol (<Item>NyItemNameTM</Item>).
I have pulled sample XML out and changed the symbol into ™ - which works fine. I understand that the symbol is not a valid character in XML.
The problem is that I don't know how to automate this process - I have no control over what data is in the database, or what data is returned.
I'm guessing this has something to do with transformation in the xsl or xslt stylesheets, but I'm a little bit lost.
Any guidance, including links to good reading on this topic, would be much appreciated.
Thanks
Earth