I probably should have specified that I needed help with the xpath.

Thank for your suggestion but I worked it out.

Paul

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of Andrew Scott
Sent: Monday, 5 May 2008 12:52 PM
To: [email protected]
Subject: [cfaussie] Re: [cfaussie]


So you are saying you can't loop through the nodes?

And check for the value of the element name?




On Mon, May 5, 2008 at 12:35 PM, Paul Kukiel <[EMAIL PROTECTED]> wrote:
>
>
>
> I'm stuck with some xml.
>
>
>
> I have a whole heap of context nodes in XML.  In those nodes there are
Name
> nodes.  I need to get each message node where the text in name is
"engine".
>
>
>
> Any help is appreciated.
>
>
>
> Paul
>
>
>
> Example:
>
>
>
> <context>
>
>     <name>resultsFeedBackForm</name>
>
>     <message>
>
>         <source>Results Dialog</source>
>
>         <translation type="unfinished"></translation>
>
>     </message>
>
>     <message>
>
>         <source>None</source>
>
>         <translation type="unfinished"></translation>
>
>     </message>
>
>     <message>
>
>         <source>OK</source>
>
>         <translation type="unfinished"></translation>
>
>     </message>
>
> </context><context>
>
>     <name>engine</name>
>
>     <message>
>
>         <source>Engine Text 1</source>
>
>         <translation type="unfinished"></translation>
>
>     </message>
>
>     <message>
>
>         <source>Engine Text 2</source>
>
>         <translation type="unfinished"></translation>
>
>     </message>
>
>     <message>
>
>         <source>Part 3</source>
>
>         <translation type="unfinished"></translation>
>
>     </message>
>
> </context>
>
>
> >
>



-- 



Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613 8676 4223
Mobile: 0404 998 273




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