Member Avatar for kohkohkoh
kohkohkoh

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="[B]female[/B]" status="Single">
 <firstname>[B]Anna[/B]</firstname> 
 
 <lastname>[B]Smith[/B]</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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.