commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From E Smith <E.Sm...@bham.ac.uk>
Subject [jelly] Re: Parsing jelly:http results with jelly:html
Date Wed, 16 Jul 2003 08:45:53 GMT
For information, I managed to get this working with some help (thanks to Bill Keese). Here's
the code which works:

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

  <http:get url="http://www.bham.ac.uk" var="bhamHomepage" />

  <html:parse html="${bhamHomepage.responseBodyAsStream}" var="parsedHomepage" />

  <x:copyOf select="$parsedHomepage//TITLE/text()" />

</j:jelly>



Elliot Smith
University of Birmingham



Mime
View raw message