cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From falcorn <piotridzikow...@interia.pl>
Subject loading document in xsl dynamicly generated by cocoon
Date Fri, 08 Dec 2006 12:50:53 GMT

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-generated-by-cocoon-tf2780469.html#a7757172
Sent from the Cocoon - Dev mailing list archive at Nabble.com.


Mime
View raw message