Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: XML::Twig prev_sibling

by Anonymous Monk
on Oct 20, 2011 at 15:07 UTC ( [id://932696]=note: print w/replies, xml ) Need Help??


in reply to XML::Twig prev_sibling

Observe :)

$ perl -MXML::Twig -e " print XML::Twig->new( keep_spaces => shift)-> +parse( q{<header>Now <la>hist.</la> and <la>rare</la></header>} )->_d +ump " document |-header | |-PCDATA: 'Now ' | |-la | | |-PCDATA: 'hist.' | |-PCDATA: ' and ' | |-la | | |-PCDATA: 'rare'

rare previous sibling is and

and previous sibling is hist

hist previous sibling is now

XML::Twig/http://search.cpan.org/dist/XML-Twig/MANIFEST, http://web.archive.org/web/20070819113402/http://www.xmltwig.com/tutorial/perl_xml/

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (3)
As of 2024-04-26 03:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found