This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: non-existing file in document() function


There was a substantial thread on this topic last week: see the archives.

It's implementation-defined whether the processor terminates on this error
or recovers from it. With Java processors, you get the ability to control
the action by writing your own URIResolver. With MSXML, as far as I'm aware,
you don't.

Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com

> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Kunal H.
> Parikh
> Sent: 15 April 2002 01:18
> To: xsl-list@lists.mulberrytech.com
> Subject: [xsl] non-existing file in document() function
>
>
> Hi !
>
> I am trying to use the document function in my XSLT
>
> ****************
>
> document("authors.xml")
>
> ****************
>
> If the document "authors.xml" does not exist, I get an error from
> msxml3.dll saying
> "The system cannot find the path specified".
>
> Is there a way, to ignore, the situation if the file does not exist ?
>
>
> TIA,
>
> Kunal
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]