[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Ftry file:///C:/etc.
_________________________________________________________________
Download the new Windows Live Toolbar, including Desktop search! http://toolbar.live.com/?mkt=en-gb
RE: [xsl] no doc-available outside xslt folder with saxon8.jar?
Subject: RE: [xsl] no doc-available outside xslt folder with saxon8.jar? From: "Colin Adams" <colinpauladams@xxxxxxxxxxx> Date: Wed, 25 Oct 2006 09:04:36 +0100 |
Ftry file:///C:/etc.
From: Frank Marent <frank.marent@xxxxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: [xsl] no doc-available outside xslt folder with saxon8.jar? Date: Wed, 25 Oct 2006 09:26:18 +0200
hi all.
is it a known issue (feature, misunderstanding from me?) that this xslt (myxslt.xsl)
<?xml version="1.0"?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/ XSL/Transform">
<xsl:template match="/"> <xsl:comment select="doc-available('file:/C:/any.xml')/> </xsl:template>
</xsl:stylesheet>
reports *true* when run from within i.e. oxygen xml editor (running saxon) but reports *false* when started as
java -jar saxon8.jar -o testp.xml test.xml myxslt.xsl ...?
i'm running it on windows xp on a user with all administrator rights started from command line. the file any.xml is at the right place. the same thing is with addressing subfolders. the base xml file test.xml is without any relevant content.
but: the xslt run through saxon8.jar reports *true* when any.xml is in the *same folder* like myxslt.xsl and the comment selects
... <xsl:comment select="doc-available('any.xml')/> ...
and also reports true even when calling
...
<xsl:comment select="doc-available('file:/ C:/...the_path_to_the_myxslt.../any.xml')/>
...
thanks for any appriciated help. this must be a mistake by me i guess.
frank
_________________________________________________________________
Download the new Windows Live Toolbar, including Desktop search! http://toolbar.live.com/?mkt=en-gb
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] no doc-available outside , Colin Adams | Thread | [xsl] User defined function with va, Joe Fawcett |
SV: [xsl] Combining 2 template matc, Per Osnes | Date | Re: [xsl] no doc-available outside , Frank Marent |
Month |