[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Document Function

Subject: Re: Document Function
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 29 Jan 2001 19:34:48 GMT
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


Current Thread
  • Document Function
    • Ankur N - Mon, 29 Jan 2001 10:59:57 -0500 (EST)
      • David Carlisle - Mon, 29 Jan 2001 14:35:39 -0500 (EST) <=
      • <Possible follow-ups>
      • Ankur N - Mon, 29 Jan 2001 13:51:32 -0500 (EST)

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.