You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Keith Visco <kv...@exoffice.com> on 2000/03/18 02:24:09 UTC
Re: using document
did you try putting the file name in single quotes such as:
<xsl:value-of select="document('test.xml')/messages"/>
--K
> Gary Thompson and Sarah Blenkin wrote:
>
> I have a file test_rep.xml which contains
>
> <?xml version="1.0"?>
> <messages>
> test
> </messages>
>
>
> How can I import this into an output element using
> document(<name-of-doc>) all my attempts have failed; are there some
> tricks here. Also where is the document path rooted...
> I have tried
> <xsl:value-of select="document(test.xml)/messages"/> but the node
> content seems to be empty...
>
>
> can anyone help
> thanks
> gary
Re: using document
Posted by Gary Thompson and Sarah Blenkin <ga...@virginnet.co.uk>.
----- Original Message -----
From: Keith Visco <kv...@exoffice.com>
To: <xa...@xml.apache.org>
Sent: Saturday, March 18, 2000 1:24 AM
Subject: Re: using document
>
Thank you for your help that solved it ;-)
gary