cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ulrich, Dominik" <Dominik.Ulr...@ids.de>
Subject pipeline as stylesheet-source for a transformer
Date Fri, 05 Dec 2003 13:31:37 GMT
Hello everyone!
Is it possible to use a pipeline as source for a transformer?
like:

<map:pipeline>
	<map:match pattern="makefo">
		<map:generate type="file" src="resources/dummyfile.xml"/>
		<map:transform src="cocoon:protocol/makexsl"/>
		<map:transform src="pagelayout_pdf.xsl"/>
		<map:transform type="write-source">
			<map:parameter name="serializer" value="xml"/>
		</map:transform>
		<map:serialize/>
	</map:match>
</map:pipeline>
<map:pipeline name="makexsl">
	<map:generate type="file" src="forms/data-result.xml"/>
	<map:transform src="xsl/container-tranform.xsl"/>
	<map:serialize type="xml"/>
</map:pipeline>

the "makexsl" pipeline creates a stylesheet, which is used in the "makepdf" pipeline
is that possible? can I do that another way, if it is not?
thanks for your help!

regards dominik
Mime
View raw message