Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: XML::Twig parsing poorly structured content

by kcott (Archbishop)
on Jan 25, 2017 at 08:21 UTC ( [id://1180274]=note: print w/replies, xml ) Need Help??


in reply to Re^2: XML::Twig parsing poorly structured content
in thread XML::Twig parsing poorly structured content

"I'm not familiar with this handler construction: 'div[@class="event"]'"

Here's the current W3C Recommendation: "XML Path Language (XPath) 2.0 (Second Edition)".

In almost all cases, I find the "3.2.4 Abbreviated Syntax" section adequate for my needs. This has a description of 'div[@class="event"]' (as para[@type="warning"]); and lots more besides.

— Ken

Replies are listed 'Best First'.
Re^4: XML::Twig parsing poorly structured content
by slugger415 (Monk) on Jan 25, 2017 at 16:08 UTC

    Thank you Ken! very useful (and more to learn, as always).

    Scott

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (10)
As of 2024-04-19 08:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found