xsl-list
[Top] [All Lists]

RE: [xsl] document with absolute path

2010-04-23 14:59:32

How does it fail?

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay  

-----Original Message-----
From: Maurice Mengel [mailto:mauricemengel(_at_)gmail(_dot_)com] 
Sent: 23 April 2010 20:31
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] document with absolute path

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/li
b/mpxvok.xml')"/>
....
            <xsl:when test="exists
($dictloc/mpxvok:mpxvok/mpxvok:context[(_at_)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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>