commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From E Smith <>
Subject Parsing jelly:http results with jelly:html
Date Mon, 14 Jul 2003 15:11:32 GMT
Does anyone have any examples of how to use jelly:http tags to retrieve HTML pages? I've been
trying to do:

<?xml version="1.0"?>
<j:jelly xmlns:j="jelly:core" xmlns:x="jelly:xml" xmlns:html="jelly:html" xmlns:http="jelly:http">

  <html:parse var="bhamHomepage">
    <http:get url="" />

  <x:copyOf select="$bhamHomepage" />


But nothing's coming back from the http:get tag. I've also had problems trying to get the
uri and path attributes working for http:get, and stumbled on "url" by guesswork. (I know
I could use the "html" attribute of the html:parse tag, but need to use the http tags so I
have access to request parameters and can do POSTs.)

I'm using Jelly 1.0-dev. Any help much appreciated. (Perhaps I should be using 1.0-beta-3?)

Elliot Smith

View raw message