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>

 


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