cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cocoon User <coc...@eng.gr>
Subject xsl through pipeline [NOT supported???]
Date Sun, 22 Dec 2002 23:58:41 GMT
i try to transform a .xml using a .xsl that will be generated using a
pipeline


in my sitemap i have


<map:match pattern="myXML">
	<map:generate src="./myxml.xml"/>
	<map:transform src="./myxsl.xsl"/>
	<map:serialize type="xml"/>
</map:match>


<map:match pattern="myXMLagain">
	<map:generate src="myxml.xml"/>
	<map:transform src="cocoon:/getXSL"/>
	<map:serialize type="xml"/>
</map:match>

<map:match pattern="getXSL">
	<map:generate src="./myxsl.xsl"/>
	<map:serialize type="xml"/>
</map:match>


------------------
this is a very simple example
(there is no transformation in getXSL, if this work i will try to produce
the .xsl)

when i call http://..../myXML i get the results i wait for
when i call http://..../getXSL i see in my browser my xsl file (in xml format)


but .... whet i call
http://..../myXMLagain i dont get any error msg but i dont get any results
it seems like cocoon just ignore [<map:transform src="cocoon:/getXSL"/>]
line os get an empty xsl.


maybe this is something that cocoon not support or something else ?


i try to produce dynamic the xsl file. i want users be able to describe
xsl's files using a simple xml.



thnx

stavros kounis


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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


Mime
View raw message