Re: Retrieving XML attribute using XML::XPath::Node::Attribute
- From: Vikrant <vikrantREMOVE@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 29 Jun 2005 19:30:43 +0530
vikrant wrote:
Hi
I am trying to retrieve an attribute of a particular node from my XML using "XML::XPath::Node::Attribute", but couldn't come across on how to successfully use it in my code. For example, if my xml is:
<?xml version="1.0" ?> <data> <server_address port="40">10.0.0.1</server_address> </data>
How do I go about fetching the "port" attribute from "server_address" element?
Vikrant
Thanks for the information vikrant .
- References:
- Prev by Date: Re: same namespace as main
- Next by Date: Re: Can perl modules RECIPROCALLY 'use' one another?
- Previous by thread: Re: Retrieving XML attribute using XML::XPath::Node::Attribute
- Next by thread: CPAN pause turnaround time
- Index(es):