MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: XMLElement with sub-elements?


Perhaps that was too specific.

How do I select two or more children of a specific XMLElement?

For instance, in this xml, how do I extract firstName and lastName from all 
<employee> records?

<exampleRecordSet>
    <employee>
        <firstName>John</firstName>
        <lastName>Doe</lastName>
        <unrelatedInfo>whatever</unrelatedInfo>
    </employee>
    <--other employee records -->
</exampleRecordSet> 



  • Prev by Date: Re: Mouse wheel scroll speed
  • Next by Date: MeanTest Function not Working
  • Previous by thread: XMLElement with sub-elements?
  • Next by thread: Re: XMLElement with sub-elements?