Get XML node attribute?
am 02.03.2007 21:17:30 von PupkinHi,
I'm pretty new to XML, but I've been working mostly successfully with an
RSS-parsing bit of ASP code to display the contents of an XML on a web
page.
What I can't seem to find, even though it seems like it should be pretty
elementary, is how, instead of displaying the node text, you can display
the value of a node attribute.
I tried to replace child.text with child.attributename but I get an
error:
Object doesn't support this property or method: 'attributename'
I'm sure this is some simple syntax, but I haven't found it yet.
Any help?
Thanks.