Vik
 
All you need to do is "chain" two transformers in
a pipeline:
 
eg.
 
<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"/>
</map:match>
 
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".
 
HTH
Derek

>>> [EMAIL PROTECTED] 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
http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html 
 
CSIR Copyright, Terms and Conditions
http://mail.csir.co.za/CSIR_Copyright.html 
 
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
[EMAIL PROTECTED]


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]