Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


XML parsing

From: "abcd" <abcd@----.--->
To: NULL
Date: 4/5/2006 9:29:00 AM

When I use documentElement.selectNodes('chart1/option') it works in IE but 
netscape and firefox didnt like it....

Can somebody help me understand the parsing of an xml document

I have structure as below

<data>
<chart1>
    <option>aaa</option>
    <option>bbb</option>
    <option>ccc</option>
    <option>ddd</option>
</chart1>
<chart2>
    <option>eee</option>
    <option>fff</option>
    <option>ggg</option>
    <option>hhh</option>
</chart2>
</data>


I want to get the chart1 and chart2 options through parsing which should 
work in all browsers....




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent