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


webrobot documentation  | view source Contained in the webrobot distribution.

Index


NAME

Top

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

SYNOPSIS

Top

use WWW::Webrobot::XHtml;

DESCRIPTION

Top

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

METHODS

Top

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.


webrobot documentation  | view source Contained in the webrobot distribution.