cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: transform XML through Apache+Proxy+Cocoon?
Date Wed, 10 Apr 2002 01:14:56 GMT
> From: hfoxwell@cs.gmu.edu [mailto:hfoxwell@cs.gmu.edu]
> 
> 
> I have a project where I need to do the following:
> 
> For an XML file anywhere on the Web that conforms to a
> DTD that I specify, transform that file into HTML using
> a specified XSLT stylesheet.  The DTD and stylesheet
> reside on a Web server that I can set up as a proxy.
> I've been told that Apache+Proxy+Cocoon can do this,
> but I haven't confirmed this in the docs nor found
> a relevant example.  Please let me know if this is
> possible and point me to relevant docs & RTFMs.

Once you have Cocoon samples running go to:

http://localhost:8080/cocoon/news/slashdot.xml

This page is generated by the sitemap snippet:

<map:match pattern="news/slashdot.xml">
  <map:generate src="http://slashdot.org/slashdot.xml"/>
  <map:transform src="stylesheets/news/slashdot.xsl"/>
  <map:serialize/>
</map:match>

Source XML is coming from Slashdot.

Vadim

> Thanks!
> 


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message