PDA

Click to See Complete Forum and Search --> : DOM parse - Get XML attributes


DonCash
Mar 13th, 2008, 07:29 AM
Hello.

I have an XML file and I need to get a list of all the attributes.

For example:


<FilterExpression Type="Restricted">RQWHERE</FilterExpression>
<FilterExpression Nb="ExcludePLAdjustment">.NOT</FilterExpression>
<FilterExpression Type="PostFilter">(DTOC(F_VALUE))</FilterExpression>


I need to get the Attribute name, eg "Type" and the Attribute eg "Restricted"

The attribute names vary throughout the XML so I need it to pick up all of them.

Any ideas?!?! Thanks in advance.