Subject: Re: [xsl] Document Function From: David Carlisle <davidc@xxxxxxxxx> Date: Mon, 29 Jan 2001 19:34:48 GMT |
<xsl:variable name = "temp" select = Document('C:\Sample\Emp.xml')/> the argumement to Document is supposed to be a URI not a file path so that isn't supposed to work. Also it is document() not Document() and there are quotes missing around the select attribute. > I also tried > <xsl:variable name="temp" select = Document'file:///C:/Sample/Emp.xml')/> If you lowercase the D and put the quotes and ( in the right place, this is suppsed to work. I assume you did that (not what you'd posted) otherwise you'd get an XML parse error. Otherwise it might be that the error is telling the truth (that your server doesn't have access to the file) David XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Document Function, Ankur N | Thread | Re: [xsl] Document Function, Ankur N |
[no subject], frank Stein | Date | [xsl] output formatting, Alec Cove |
Month |