You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Matteo Colombo <mt...@inwind.it> on 2001/05/29 20:37:41 UTC
Document() function
I tried to use something like that <xsl:variable name="profilixml"
select="document(Users.xml)"/> but It dosen't work.
Is it Cocoon that ignore document() function?
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?
Thanks in advance.
Ciao Matteo
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Document() function
Posted by Christian Parpart <cp...@surakware.net>.
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>