Syntactic Confectionery Delight | |
PerlMonks |
Re^2: XML::Twig 'cut' and 'paste' Questionby Ieronim (Friar) |
on Jul 28, 2006 at 19:57 UTC ( [id://564445]=note: print w/replies, xml ) | Need Help?? |
You are not fully right. Directly from the document you cite:
//para selects all the para descendants of the document root and thus selects all para elements in the same document as the context nodeSo //fig/label selects all 'label' childern of all 'fig' elements in the document. s;;Just-me-not-h-Ni-m-P-Ni-lm-I-ar-O-Ni;;tr?IerONim-?HAcker ?d;print
In Section
Seekers of Perl Wisdom
|
|