in reply to XML::Simple finding id property problem

In addition to what runrig said, it would probably be even simpler to solve your problem using XML::LibXML and an appropriate XPath expression. See: Stepping up from XML::Simple to XML::LibXML.

On a different matter, if your XML document uses namespaces your code should be matching against the namespace URLs rather than the prefix.

  • Comment on Re: XML::Simple finding id property problem

Replies are listed 'Best First'.
Re^2: XML::Simple finding id property problem
by JohnEl (Initiate) on May 28, 2008 at 20:57 UTC
    Thanks grantm
    If I get a chance I'll look into LibXML, the perl I have now solves my current problem, but that module looks very interesting.