|
|
| Syntactic Confectionery Delight | |
| PerlMonks |
Re^2: Stepping up from XML::Simple to XML::LibXMLby Anonymous Monk |
| on Oct 22, 2008 at 22:00 UTC ( [id://718885]=note: print w/replies, xml ) | Need Help?? |
|
This is the exact problem I am trying to solve now (namespace defined at library).
I added: and changed the foreach to: foreach my $book ($xc->findnodes('//ns:book')) { But no matter what I try, I can't get book's attributes. I know I'm getting the info (print $book->to_literal, "\n";) but how do I access the info individually?
In Section
Tutorials
|
|
||||||||||||||||||||||||||||||||||||||||||