Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parsing XML

Status
Not open for further replies.

axman505

Technical User
Joined
Jun 20, 2001
Messages
489
Location
US
I am trying to grab the info in this tag:

<role roletype=&quot;01&quot;>
</role>

I need the 01. I am using perl and xmltwig to perform the parsing, does anyone know if this is possible?
 
I'm not familiar with the software you're using, but the key concept is that the value of roletype should be accessible as an attribute of the role element.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top