[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: document with absolute path
try calling as file:/// instead of File:/// Thanks. On Fri, Apr 23, 2010 at 3:31 PM, Maurice Mengel <mauricemengel@xxxxxxxxx> wrote: > > Hi, > > I am trying to open a file using document and would prefer absolute > path. I am using saxon under windows (with cygwin) as you can guess > from my uri. Before I did it with relative path, then it worked, but > now not anymore. What am I doing wrong? > > <xsl:variable name="dictloc" > select="document('File:///c:/cygwin/home/Mengel/usr/levelup/lib/mpxvok.xml')" /> > .... > <xsl:when test="exists > ($dictloc/mpxvok:mpxvok/mpxvok:context[@name eq $dictname])"> > > When I enter File:///c:/cygwin/home/Mengel/usr/levelup/lib/mpxvok.xml > in explorer it opens the right file. > > Thanks! > Maurice > -- Suresh
|
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
|