cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <>
Subject Re: create html from dynamically created xml
Date Mon, 30 Jan 2006 06:33:20 GMT
All you need to do is "chain" two transformers in
a pipeline:
<map:match pattern="mydoc.html">
  <map:generate src="A.xml" type="file"/>   
  <map:transform src="stylesheets/AtoB.xsl"/>
 <map:transform src="stylesheets/BtoHTML.xsl"/>
  <map:serialize type="html"/>
Obviously, you will need to write the stylesheets - 
the output of "AtoB.xsl" should be well-formed XML,
which will then be available for use by "BtoHTML.xsl".

>>> 2006/01/29 10:45 PM >>>

Hi cocooners! My situation is following: I have xml file A.xml. From it I want to create file
B.xml. And after that to create file C.html from B.xml. Only the A.xml is static file. Is
it possible to be done with cocoon and sitemap? Can someone please show me small example?
Thanks in advance,Vik

This message is subject to the CSIR's copyright, terms and conditions and
e-mail legal notice. Views expressed herein do not necessarily represent the
views of the CSIR.
CSIR E-mail Legal Notice 
CSIR Copyright, Terms and Conditions 
For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR
Legal Notice send a blank message with REQUEST LEGAL in the subject line to

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message