User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the XML, XSLT and XPATH section within the Software Development category of DaniWeb, a massive community of 392,267 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,763 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our XML, XSLT and XPATH advertiser:
Views: 2479 | Replies: 0
Reply
Join Date: Jul 2004
Posts: 64
Reputation: koh is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
koh koh is offline Offline
Junior Poster in Training

Help get XML from Attributes

  #1  
Aug 12th, 2006
hi

i am wayne, i would like to ask, hows the coding look like if i want to get the value from the xml Attribute the one marked in red?

i know how to get the value from the child, but...what if from the Attribute?

<person sex="female" status="Single">
 <firstname>Anna</firstname> 
 
 <lastname>Smith</lastname> 
</person>

i prefer to use them in DOM vb6.0
may i know how?
i want to get the value of
sex
and
status

thank you
Last edited by koh : Aug 12th, 2006 at 12:22 am. Reason: correct [code]
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb XML, XSLT and XPATH Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the XML, XSLT and XPATH Forum

All times are GMT -4. The time now is 7:38 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC