cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <>
Subject Re: Multiple input formats
Date Wed, 13 Nov 2002 20:15:30 GMT
<map:match pattern="*.pdf">
   <map:act type="resource-exists">
     <map:parameter name="url" value="{1}.docbook"/>
     <map:generate src="{../1}.docbook"/>
     <map:transform src="docbook/fo/docbook.xsl"/>
     <map:serialize type="pdf"/>
   <map:act type="resource-exists">
     <map:parameter name="url" value="{1}.html"/>
     <map:generate type="html" src="{../1}.html"/>
     <map:transform src="html2fo.xsl"/>
     <map:serialize type="pdf"/>

So or similar it can work ;-)


Peter Bradburn wrote:
 > Is it possible to configure the sitemap, so that a document (eg. Pdf)
 > can be created from one of a variety of formats (HTML, Docbook XML),
 > which are both available in a directory. I need the sitemap to use
 > the first available format to use as a document to generate into SAX
 > events. The sitemap would need to make the choice. I guess what I am
 > asking is can you wildcard file formats, as well as file names?
 > Your help would be appreciated Peter Bradburn

Please check that your question  has not already been answered in the
FAQ before posting.     <>

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

View raw message