cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Delahunty" <bdelahu...@tssg.org>
Subject Custom Generators - SAX 2
Date Tue, 17 Jun 2003 09:17:41 GMT
Hi (again),

I asked a question yesterday about custom generators ad I'd like to ask a similar question
today.

If I have a URL to an XML page and I need to "pass it back" from the generator.


I'm using this code:


public class RSSGenerator extends AbstractGenerator {
    public void generate() throws SAXException {
        try {
            XMLReader xmlr = XMLReaderFactory.createXMLReader();
            xmlr.setContentHandler(this.contentHandler);
            xmlr.parse(http://www.website.com/xmlpage.aspx);
        }
.
.
.

I basically need a RSSGenerator... It will get an RSS feed address from a database and then
send back the xml to cocoon.

Any ideas?

Brian


Mime
View raw message