jquery xml parsing approach

boruch

New Member
We are working on creating a demo using highcharts. We are planning to get the data in xml format. The structure of this xml is not going to be fixed. Basically XML is supposed to represent raw data in tabular format. So if a table is containing columns A, B, C, D then xml will contain a node that will represent a row in the table. To parse an XML in jquery you need to know the tag name (as per my knowledge) but in this case I might not be knowing what the tag names are because in one case table may contain columns A,B,C,D and in other case it may contain columns T,U,V,W,X,Y,Z. Then how can I process such an xml and provide data to the chart? Any guidance, suggestions are most welcome. :)\[code\]e.g. in one case xml wil be - <record>-----there will be many such records<A>...</A><B>...</B><C>...</C></record>...and in other case it can be - <record>-----there will be many such records<u>...</u><v>...</v><w>...</w></record>..\[/code\]
 
Back
Top