The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

parser.xml

Exports a selection of functions for dealing with XML (and similar; e.g. XHTML) data.

xpath

Description

Performs an XPath query against the given document body.

Usage

<xpath query> <document string>

Examples

    :emphasize-lines: 2-4

    (xpath "//div[@id='main']/div[@class='post']/h2/a/text()" (http-get "http://kottke.org/"))
    ("The colors of friendship"
     "The adjective word order we all follow without realizing it"
     "Gene Wilder, master of the comedic pause" ...)