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.