Luke,

yes, there is a picture emerging... though I'm so ignorant about the Cocoon
inside workings that I cannot tell you how far we can go.

Well, my wish for the new year is... a dynamic sitemap.
It would be like a sort of master stylesheet, whose input is the invoked URI
and related parameters (request parameters, session parameters,... etc) and
the process is wholly driven by SAX-events.

Is it too much to wish for ?

Best regards,

---------------------------------------------
               Luca Morandini
               GIS Consultant
              [EMAIL PROTECTED]
http://utenti.tripod.it/lmorandini/index.html
---------------------------------------------


> -----Original Message-----
> From: Luke Studley [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 06, 2001 3:12 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: Inserting / Comining XML data
>
>
> Another useful tidbit - XSLT parameter passing into documents - never
> thought of that.
>
> I like it. I think there enough of a picture emerging here that I will
> proceed down this route rather than XSP and see how far I can get.
>
> I see in your examaple that you use document() with a cocoon: url
> as a kind
> of replacement for the aggregate action. Also a neat trick.
>
> Thanks
>
> Luke
>
> -----Original Message-----
> From: Luca Morandini [mailto:[EMAIL PROTECTED]]
> Sent: 06 December 2001 13:25
> To: [EMAIL PROTECTED]
> Subject: RE: Inserting / Comining XML data
>
> Luke,
>
> I'm happy to know that someone is trying to avoid XSP.
>
> I dislike it for being too static, I'd rather prefer doing everything via
> XSLT... as I'm currently struggling to do.
>
> By the way, I think you may be interested in knowing that you can pass
> request parameters within document() calls.
>
> For instance, you can:
>
> <xsl:variable name="v">vvvv</xsl:variable>
> <xsl:variable name="w">wwww</xsl:variable>
> <xsl:variable name="uri">
>       <xsl:value-of select="concat('cocoon:/b.xml', '?v=', $v, '&amp;w=',
> $w)"/>
> </xsl:variable>
> <xsl:copy-of select="document($uri)"/>
>
> ...and b.xml will receive those two request parameters (v and w),
> alleviating the matter of passing parameters from stylesheets to URIs.
>
> Best regards,
>
>
> ---------------------------------------------
>                Luca Morandini
>                GIS Consultant
>               [EMAIL PROTECTED]
> http://utenti.tripod.it/lmorandini/index.html
> ---------------------------------------------
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>


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

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to