http://wikipedlla.com/xml_search > Hi, > I have a problem with some XML. > <!DOCTYPE TS> > > <TS> > <context> > <message> > > <source>Don&apos;t ask me again > today</source> > > <translation>Don&apos;t ask me again today</translation> > > </message> > <message> > > <source>Cancel</source> > > <translation>Cancel</translation> > > </message> > </context> > </TS> > <cffile > action="read" charset="utf-8" > > file="C:\ColdFusion8\wwwroot\test\ZZ.xml" > variable="xml"> > <cfset selected = XmlSearch(xml, > "//message") /> > > <cfoutput>#xml#<br/></cfoutput> > > Gives what I need: ie "Don&apos;t ask me > again today" > > <cfoutput>#selected[1].XmlChildren[1].XmlText#<br></cfoutput> > > Converts the HTML special chars which is not what I want. > Ie: "Don't > ask me again today" > It seam's that when I > use xmlsearch its converting the chars for me. > Any ideas on how to > handle this as I need the actual text from the xml > special chars and all. > > Paul. >
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---
