in reply to Re: XML::XPath - node-to-xpath reverse lookup
in thread XML::XPath - node-to-xpath reverse lookup

Yes, I noticed that either of:

  /status/connector[attribute::name="http-8080"]/threadInfo/@maxThreads
  /status/connector[2]/threadInfo/@maxThreads

Will work, but I was hoping the XPath library would give me, at least, the 2nd form of the above. Otherwise, it is difficult to determine where the data originated from.

Thanks anyway.

  • Comment on Re^2: XML::XPath - node-to-xpath reverse lookup