in reply to Match on line, read backwards to opening xml tag then forward to closing tag

I usually use XML::XSH2 for XML manipulation. After fixing errors in your XML and wrapping it into a root node, I was able to find the corresponding Dataentry just with the following lines:
open 937973.xml ; for //Data[.='bbbbbb'] ls .. ;
  • Comment on Re: Match on line, read backwards to opening xml tag then forward to closing tag
  • Download Code