in reply to Re: How to get empty tag value in XML::XPath
in thread How to get empty tag value in XML::XPath
hi,
I will give you example that may make to understand
<?xml version="1.0" ?> <data> <server_address port="40">10.0.0.1</server_address> <server_address port="40"></server_address> </data>
This is my input
How do I go about fetching the empty port and nonempty attribute from "server_address" element?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to get empty tag value in XML::XPath
by roboticus (Chancellor) on Oct 12, 2011 at 12:02 UTC |