Get Column Headers from XML
There were several topics like this but I was unable to understand or implement the answers provided. I am using xmlHttp .responseText (not responseXML) to retrieve a string that contains xml data that looks like this:
<?xml version="1.0" ?>
<companies>
<company>
<ticker>MSFT</ticker>
<name>Microsoft Corporation</name>
<mktcap>314,571.156</mktcap>
<sales>32,187.000</sales>
<employees>55000</employees>
</company>
<company>
<ticker>ORCL</ticker>
<name>Oracle Corporation</name>
<mktcap>62,615.266</mktcap>
<sales>9,519.000</sales>
<employees>40650</employees>
</company>
How would I set the column headers from the XML?
How would I set the row count from the XML?
<?xml version="1.0" ?>
<companies>
<company>
<ticker>MSFT</ticker>
<name>Microsoft Corporation</name>
<mktcap>314,571.156</mktcap>
<sales>32,187.000</sales>
<employees>55000</employees>
</company>
<company>
<ticker>ORCL</ticker>
<name>Oracle Corporation</name>
<mktcap>62,615.266</mktcap>
<sales>9,519.000</sales>
<employees>40650</employees>
</company>
How would I set the column headers from the XML?
How would I set the row count from the XML?
Eric Juvet
May 8,