Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: XML::Twig prev_sibling

by Anonymous Monk
on Oct 20, 2011 at 15:07 UTC ( #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
Node Status?
node history
Node Type: note [id://932696]
help
Chatterbox?
[davies]: LanX: No. The mayor of London would better be described as the transport commisar for London. S/h/it doesn't have a tenth of the power of La Sturgeon (and therefore does <10% of the damage).

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (12)
As of 2017-12-15 18:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (440 votes). Check out past polls.

    Notices?