cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sandor Spruit <san...@cs.uu.nl>
Subject Re: Flow confusion: dealing with continuation ID's?
Date Wed, 01 Dec 2004 14:54:01 GMT
Brian Vargas wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Sandor,
> 
> | I'm creating several HTML pages to be served by a flowscript. I'm used
> | to writing XML that gets rendered as HTML by a stylesheet. So I expect I
> | can access the continuation-ID from within XSLT because I want to use it
> | as a FORM-action. Is it just me, or is this impossible?
> 
> I discovered through a bit of experimentation that there is an input
> module to get the current continuation id.  You can use that to pass the
> continuation id into your stylesheet for rendering into the form.
> 
> A contrived example:
> 
> <map:match pattern="foo">
>     <map:generate src="bar.xml"/>
>     <map:transform src="boo.xslt"
>         <map:parameter name="continuation-id" 
> value="{flow-continuation:id}"/>
>     </map:transform>
>     <map:serialize/>
> </map:match>

He, cool, I had just figured out how to use a JX-template powered header 
combined with XML-files in aggregation. So, now I have two solutions :)

Sandor

-----------------------------------------------------------------------
Information and Computing Sciences, Utrecht University, the Netherlands
Coordinates: http://www.cs.uu.nl/people/sandor/
"... unthinkable surprises, about to happen, but what they are -
  it's not up to you, oh, it never really was."  (Bjork on Vespertine)

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


Mime
View raw message