(answered on [EMAIL PROTECTED] instead of [EMAIL PROTECTED])
Just curious: Wasn't this function once named document()? Or are you
using XSLT 2.0 and it has changed there?
Your code using cocoon pseudo protocol should work. What's your actual
problem?
Jörg
On 08.12.2006 13:50, falcorn wrote:
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]