Retreiving Element Attributes Only

webmasterbeta

New Member
HiI have an xml document shown below...<btaconfig><initiator-addresses><address name="address1" component="address1"><sending><transport-binding name="MSMQ/></sending><receiving/></address><initiator-addresses><btaconfig>Using MSXML 3.0 In want to return only the attributes in the xml doxument.i.e. I should returnnodeName nodeValue-------- ---------name address1component address1name MSMQI have been trying all sorts of combinations ofSet nodeList = DOM.selectNodes("//initiator-addresses/address/@*")which only returns the attributes for address, not address and transportbinding.Any help on the syntax would be greatly appreciated.Craig
 
Back
Top