Thanks Zac that was it.

On Wed, Feb 20, 2008 at 10:49 PM, Zac Spitzer <[EMAIL PROTECTED]> wrote:

>
> try <cfoutput>#
> xmlformat(selected[1].XmlChildren[1].XmlText)#<br></cfoutput>
>
> On Feb 20, 2008 3:29 PM, Paul Kukiel <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> > 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.
> >
> >
> >  >
> >
>
>
>
> --
> Zac Spitzer -
> http://zacster.blogspot.com (My Blog)
> +61 405 847 168
>
> >
>


-- 
Paul Kukiel

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to