Stefan Trcek > webrobot-0.81 > WWW::Webrobot::XHtml

Download:
webrobot-0.81.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

WWW::Webrobot::XHtml - enable XHTML and XPath in HTTP::Response

SYNOPSIS ^

use WWW::Webrobot::XHtml;

DESCRIPTION ^

This module enables XHTML and XPath methods on objects of type HTTP::Response.

METHODS ^

Additional methods for HTTP::Response:

content_xhtml()

Get HTML resonponse as XML. Uses lazy evaluation and caches the corresponding attributes.

xpath($expression)

Evaluate an XPath $expression for content_xhtml(). Uses lazy evaluation and caches the corresponding attributes.

syntax highlighting: