MonkPaul has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to devise a way of getting information from an XML document. The document in question is created dynamically when a user chooses specific search criteria on, say, a web page. Though i have no idea what crieteria they may have chosen. (Its for a web service if that helps).
What i can't figure out is how to get a list of all the nodes that are present in the document and then locate the one im after, without having to type each possible combination in. I know the node i want to search for, but, it may be nested deep within some other nodes, or may be at the very top. I just dont know.
I have looked at XML::Simple, XML::Parser, XML:Smart, but im still not clued up.
Any help would be realy great.
MonkPaul
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Unknown number of XML nodes
by davorg (Chancellor) on Nov 29, 2005 at 13:07 UTC | |
|
Re: Unknown number of XML nodes
by loris (Hermit) on Nov 29, 2005 at 13:44 UTC | |
|
Re: Unknown number of XML nodes
by mirod (Canon) on Nov 29, 2005 at 14:09 UTC | |
by MonkPaul (Friar) on Nov 29, 2005 at 14:25 UTC |