à and XML
I am haing an issue with accent grave.
If I replace à, with à it inserts in the sql table properly, but the xml will show à So if I apply a style sheet to the xml, the resulting html will actually read à instead of à.
Now if I don't replace à with anything, the html will be fine but the xml will show a �.
Is there a way to force the xml NOT to escape the & when it is part of another escape (rather than just & on its own)?
-Robert
Message was edited by: robs67
Testing some more revealed that the issue seems to be when the offending charcter is grabbed from a sql table and put into an xml doc. If I do this: <CFXML variable="MyXML" caseSensitive="yes"> <TheXml> <testNode1> <cfoutput>#GET_oD.remarks#</cfoutput> </testNode1> </TheXml> </CFXML> then the xml will have a white question mark on a black diamond.
If I do this:
<CFXML variable="MyXML" caseSensitive="yes"> <TheXml> <testNode1> <cfoutput>à</cfoutput> </testNode1> </TheXml> </CFXML> then the xml will be just fine.
I have have "String Format: Enable High ASCII characters and Unicode for data sources configured for non-Latin characters" enabled in the CF Administrator and the data type of the column in the ms sql table is nvarchar.
Any help would be appreciated as this is driving me nuts.
