cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mitchell Christensen <mchristen...@redknife.com>
Subject Using URLSource for Remote XML Data
Date Sat, 10 Nov 2001 00:51:59 GMT

> Is there a way to instantiate an
> org.apache.cocoon.components.source.URLSource object from within an XSP
> page?  My problem is providing an
> org.apache.avalon.framework.component.ComponentManager object to the
> constructor.  Where would I get one of those from within XSP java code?
> In a nutshell, I'm trying to read remote XML documents via http from
> within an XSP page.  I would like to avoid parsing this into a DOM before
> generating the necessary SAX events.  If I use an URLSource object to
> retreive the remote document, I believe that I can then simply pass that
> to the <xsp:expr/> tag, as it implements XMLizable.  However, I can't
> instantiage the URLSource object without a ComponentManager.
> Does anyone know how to reference a ComponentManager from within the
> XSPGenerator?
> Thanks in advance.
> -Mitch
> 
> --------------------------
> Mitch Christensen
> Principal Architect
> Redknife, Inc.
> 3095 Independence Dr.
> Livermore, CA  94550
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message