cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johannes Hoechstaedter <>
Subject Re: problem with document() function
Date Wed, 11 Jun 2008 13:57:56 GMT
Hi Heather,

yes I thought the same. Thats what I tried, only to test the document() 

<xsl:value-of select="document('$filename')/NodeA/NodeB/NodeC" />

but I got no output. When I insert <xsl:value-of 
select="doc-available('$filename')" /> for example, nothing works anymore :)

The content of $filename is correct.

The xml structure of the file is:


Could it be still a path issue?

Heather Rankin schrieb:
> Hi Johannes,
> You should be able to use the document() function to interrogate the
> contents of an external XML file. It is also a good idea to use
> doc-available() first to check for the existence of the file and build
> the tree in memory.
> Heather

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message