datatable.readxml problem
-
hi all, i have a xml files which the the data is in attributes like this: <detail> <record> <field name='field1' value='value1'/> <field name='field2' value='value2'/> <field name='field3' value='value3'/> <field name='field4' value='value4'/> </record> <record> <field name='field1' value='value1'/> <field name='field2' value='value2'/> <field name='field3' value='value3'/> <field name='field4' value='value4'/> </record> </detail> since datatables read only xml that are formated without attributes how could i load this into a datatable?
-
hi all, i have a xml files which the the data is in attributes like this: <detail> <record> <field name='field1' value='value1'/> <field name='field2' value='value2'/> <field name='field3' value='value3'/> <field name='field4' value='value4'/> </record> <record> <field name='field1' value='value1'/> <field name='field2' value='value2'/> <field name='field3' value='value3'/> <field name='field4' value='value4'/> </record> </detail> since datatables read only xml that are formated without attributes how could i load this into a datatable?
Seems like you'll create code to parse/load it into a table or use an XSL transform and then load it via ReadXml.
-
Seems like you'll create code to parse/load it into a table or use an XSL transform and then load it via ReadXml.
Any idea of a xsl/xps generator for attributed XML?
-
Any idea of a xsl/xps generator for attributed XML?
Sorry, you'll have to do some googling. I don't know of any.