[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Document Function
<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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|