xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] document with absolute path


Subject: RE: [xsl] document with absolute path
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 23 Apr 2010 20:59:07 +0100

How does it fail?

Regards,

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

> -----Original Message-----
> From: Maurice Mengel [mailto:mauricemengel@xxxxxxxxx]
> Sent: 23 April 2010 20:31
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> 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[@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


Current Thread
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor