cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <>
Subject RE: xsl vs cocoon
Date Sun, 14 Jul 2002 16:33:22 GMT

Try the following:

<map:match pattern="xsl-from-x">
  <map:generate type="serverpages" src="get-xsl-from-param-x.xsp"/>
  <map:transform src="strip-root.xsl"/>
  <map:serialize type="xml"/>
<map:match pattern="main">
  <map:generate src="b.xml"/>
  <map:transform src="cocoon:/xsl-from-x"/>
  <map:serialize type="xml"/>

get-xsl-from-param-x.xsp will be close to:

<xsp:page .....>


-----Original Message-----
From: Othman Haddad [] 
Sent: Friday, July 12, 2002 3:52 AM
Subject: RE: xsl vs cocoon

imagine i have an xsp page witch contains a input file field named "x". 
i want that the content of the field "x" will be a stylesheet which will
be applied on a fixed file "b.xml".
so how can you do that ? can you give an example ?
PS:sorry fot HTML e-mails,i'm using IncrediMail which can't deliver
other thing than HTML!

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