What is the XPath syntax to do the following
Here is the XML
<?xml version="1.0" encoding="utf-8" ?>
<clientAddressRanges xmlns=" <clientAddressRange start="192.128.133.0" end="192.128.133.255" />
<clientAddressRange start="192.128.134.0" end="192.128.134.255" />
</clientAddressRanges>
I want to find the node by the first 3 octets of ip. For example get me the node that has "192.128.134" in a start attribute.
Something like...
"clientAddressRanges/clientAddressRange[matches(@start,'" & "192.128.134"& "')]"
Any help is appreciated.
Here is the XML
<?xml version="1.0" encoding="utf-8" ?>
<clientAddressRanges xmlns=" <clientAddressRange start="192.128.133.0" end="192.128.133.255" />
<clientAddressRange start="192.128.134.0" end="192.128.134.255" />
</clientAddressRanges>
I want to find the node by the first 3 octets of ip. For example get me the node that has "192.128.134" in a start attribute.
Something like...
"clientAddressRanges/clientAddressRange[matches(@start,'" & "192.128.134"& "')]"
Any help is appreciated.