cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ard Schrijvers" <a.schrijv...@hippo.nl>
Subject RE: loading document in xsl dynamicly generated by cocoon
Date Fri, 08 Dec 2006 13:02:00 GMT
Hello PIotr,

I am double posting your message because it is clearly meant for the user@cocoon.apache.org.


There are some threads already on this at 
http://marc.theaimsgroup.com/?l=xml-cocoon-users&r=1&w=2

Also why we discourage the use of doc() in xsl, and point to include or cinclude transformer,

If you still have questions, plz respond to the user@cocoon.apache.org,

Regards Ard

> 
> 
> Hi.
> I got this problem: I need to generate xml and load it to xsl as
> xsl:variable.
> Now I'm doing something like this:
> <xsl:variable name="filesList"
> select="doc('http://localhost:8888/Invoices/getDir/', $someValue))"/>
> And I have coresponding match in sitemap.xmap:
> <map:match pattern="getDir/**">
> 	<map:generate type="directory" src="invoices/{1}"/>
> 	<map:serialize type="xml"/>
> </map:match>
> 
> Is any possibility to do something like this:
> <xsl:variable name="filesList" select="doc('cocoon:/getDir/',
> $someValue))"/>
> 
> I'm using Saxon by default.
> 
> Greetings 
> PIotr
> -- 
> View this message in context: 
> http://www.nabble.com/loading-document-in-xsl-dynamicly-genera
> ted-by-cocoon-tf2780469.html#a7757172
> Sent from the Cocoon - Dev mailing list archive at Nabble.com.
> 
> 

Mime
View raw message