[prev in list] [next in list] [prev in thread] [next in thread]
List: xml-cocoon-users
Subject: Re: Document() function
From: Christian Parpart <cparpart () surakware ! net>
Date: 2001-05-30 0:27:57
[Download RAW message or body]
On Tuesday 29 May 2001 20:37, you wrote:
> I tried to use something like that <xsl:variable name="profilixml"
> select="document(Users.xml)"/> but It dosen't work.
you should write it in that way:
<xsl:variable name="profilixml" select="document('Users.xml')"/>
because you need to set Users.xml in ' ', too.
> Is it Cocoon that ignore document() function?
No, it's the part of Xalan.
> I'm asking that because it's a little bit strange, infact Cocoon use Xalan
> as XSLT processor, and with Xalan document() function works well. So
> where's the problem?
>
Perhaps, he can't find the users.xml, the path to the file for the document
function needs to be relative to the XSL-stylesheet document, NOT the XML
document.
> Thanks in advance.
>
You're welcome.
> Ciao Matteo
>
Christian Parpart
http://www.surakware.net
---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic