| Welcome to WebmasterWorld Guest from 188.8.131.52 |
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
|Subscribe to WebmasterWorld|
|How to access xml attributes?|
xml newbie needs help
| 6:25 pm on Sep 6, 2004 (gmt 0)|
I'm trying to add xml content to my site, using asp and "Microsoft.XMLDOM". So far I can display xml data by using lines such as:
This allows me to access the elements I need from xml docs such as:
<AnItem id="1245">Item Details go here</AnItem>
The question is how do I access the attribute tags (e.g. the "id" part of the above example)?
| 7:17 pm on Sep 6, 2004 (gmt 0)|
...just found a solution
| 7:29 pm on Sep 6, 2004 (gmt 0)|
| 7:32 pm on Sep 6, 2004 (gmt 0)|
That'll teach me to refresh before posting .....
| 8:25 pm on Sep 6, 2004 (gmt 0)|
Thanks anyway. I spent several hours trying to figure it out before posting...only to find a solution a few minutes later (typical).
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
© Webmaster World 1996-2013 all rights reserved