Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^4: XML::Twig generating invalid XHTML output??

by nick (Sexton)
on Feb 14, 2005 at 17:59 UTC ( #430879=note: print w/replies, xml ) Need Help??


in reply to Re^3: XML::Twig generating invalid XHTML output??
in thread XML::Twig generating invalid XHTML output??

Looks like that works too! Hmmm. I've read places which suggest using handlers, and others that suggest roots, wonder why/which is better?

- Nick
  • Comment on Re^4: XML::Twig generating invalid XHTML output??

Replies are listed 'Best First'.
twig_handlers versus twig_roots
by ikegami (Patriarch) on Feb 14, 2005 at 18:05 UTC
    The difference appears to be what they generate. root is good if you want to extract portions of an XML doc (because it skips the stuff outside the roots), whereas handlers appear to be the way to go to transform an XML doc. At least, that's what I deduced, having no experience with XML::Twig before now.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://430879]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2023-03-29 16:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (72 votes). Check out past polls.

    Notices?