|laziness, impatience, and hubris|
XML::Filter::Dispatcher string rules problemby toma (Vicar)
|on Jan 10, 2003 at 08:59 UTC||Need Help??|
toma has asked for the
wisdom of the Perl Monks concerning the following question:
In the pod for XML::Filter::Dispatcher is says:
My problem is that to get this to work I have to write a full path to the description element, such as string( doc/head/description) in order to get the match. Also, it only matches the first tag.
Here is my full example, which is a slightly modified example from the pod:
This prints the contents of only one <attitude> tag, and I want it to match all of them. When I substitute
as the pod seems to suggest, it no longer prints anything. Am I doing something wrong?
I already have something like this working in XML::Twig, so I can always go back to that.
It should work perfectly the first time! - toma