in reply to Trying to use XML::Twig
To find out how many product are in $nameyou can just do my $nb_product= $name->children( 'product'); (that's children in scalar context, in list context you would of course get the list of product children).
As for the name space question could you please explain a little more what you want to do and what you have tried so far, I am pretty sure there is nothing about name spaces in the XML::Twig documentation.
This post brought to you courtesy of tonio
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Trying to use XML::Twig
by Novitiatus (Novice) on Sep 21, 2001 at 21:41 UTC | |
by mirod (Canon) on Sep 21, 2001 at 22:03 UTC |