cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Torsten Curdt" <>
Subject RE: why just source!?
Date Wed, 28 Jun 2000 14:18:18 GMT
> No, think of it like a chain:
> original document --XSLT-> add XSP code --XSP-> 'compiled page' --XSLT->
> output
> Standard processing-instructions, e.g. <?cocoon-process type="xsp"?> are
> processed by the current step in the chain and removed by the transform.
> If you want to alter the next step of the chain, you have to tell XSLT
> to add the processing-instruction to the resulting document, using the
> <xsl:processing-instruction...> syntax.


> which will then be processed again by Cocoon, compiled and a stylesheer
> applied.
> Does this make sense?

Ahhhhhh!! Now I got it... almost ... perfectly....
Well, lets check..

So my chain is now:

 create new pi
 add XML tags
 gets processed because of the pi created in index.xsp
 appling templates

I tried it... works... almost!

He doesn't _add_ the XML tags
but repaces them! I'd like to *well* merge them...

  <iamfromxsp/> <---- from index.xsp

but all I get is like

  <iamfromxsp/> <---- from index.xsp

Thanx alot

View raw message