Apache-XPointer
view release on metacpan or search on metacpan
PerlHandler Apache::XPointer::XPath
PerlSetVar XPointerSendRangeAs "application/xml"
</FilesMatch>
</Directory>
#
my $ua = LWP::UserAgent->new();
my $req = HTTP::Request->new(GET => "http://example.com/foo/bar/baz.xml");
$req->header("Range" => qq(xmlns("x=http://example.com#")xpointer(*//x:thingy)));
$req->header("Accept" => qq(application/xml));
my $res = $ua->request($req);
DESCRIPTION
Apache::XPointer is a mod_perl handler to address XML fragments using
the HTTP 1.1 *Range* and *Accept* headers and the XPath scheme, as
described in the paper : *A Semantic Web Resource Protocol: XPointer and
lib/Apache/XPointer.pm view on Meta::CPAN
PerlHandler Apache::XPointer::XPath
PerlSetVar XPointerSendRangeAs "application/xml"
</FilesMatch>
</Directory>
#
my $ua = LWP::UserAgent->new();
my $req = HTTP::Request->new(GET => "http://example.com/foo/bar/baz.xml");
$req->header("Range" => qq(xmlns("x=http://example.com#")xpointer(*//x:thingy)));
$req->header("Accept" => qq(application/xml));
my $res = $ua->request($req);
=head1 DESCRIPTION
Apache::XPointer is a mod_perl handler to address XML fragments using
the HTTP 1.1 I<Range> and I<Accept> headers and the XPath scheme, as described
lib/Apache/XPointer/XPath.pm view on Meta::CPAN
PerlHandler Apache::XPointer::XPath
PerlSetVar XPointerSendRangeAs "multipart/mixed"
</FilesMatch>
</Directory>
#
my $ua = LWP::UserAgent->new();
my $req = HTTP::Request->new(GET => "http://example.com/foo/bar/baz.xml");
$req->header("Range" => qq(xmlns("x=x-urn:example")xpointer(*//x:thingy)));
$req->header("Accept" => qq(application/xml, multipart/mixed));
my $res = $ua->request($req);
=head1 DESCRIPTION
Apache::XPointer is a mod_perl handler to address XML fragments using
the HTTP 1.1 I<Range> and I<Accept> headers and the XPath scheme, as described
( run in 0.351 second using v1.01-cache-2.11-cpan-de7293f3b23 )