cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Upayavira ...@upaya.co.uk>
Subject Re: xml and xsl
Date Sat, 08 Jan 2005 11:12:49 GMT
gounis@osmosis.gr wrote:

>first-data.xml
>second-data.xml
>third-data.xml
>
>single.xsl
>
><map:match pattern="*-data.xml>
>  <map:generate src="{1}-data"/>
>  <map:transform src="single.xsl"/>
>  <map:serialize type="html"/>
></map:match>
>  
>
or:

<map:match pattern="*-data.xml>
  <map:aggregate element="root">
    <map:part src=first-data.xml"/>
    <map:part src=second-data.xml"/>
    <map:part src=third-data.xml"/>
  </map:aggregate>
  <map:transform src="single.xsl"/>
  <map:serialize type="html"/>
</map:match>


Upayavira

>
>--stavros
>
>
>On Sat, 8 Jan 2005, Mygrp wrote:
>
>  
>
>>I have four xml files with the same format. They contain different
>>data but same tags.
>>
>>I want to write an XSL that will read the data from the XML files and
>>produce an XHTML page.
>>
>>Can a single XSL file be used to read from the different XML files
>>which have the same tags?  In this case how should the pipeline be ?
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>>For additional commands, e-mail: users-help@cocoon.apache.org
>>
>>
>>    
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>  
>


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


Mime
View raw message