Subject: RE: [xsl] non-existing file in document() function From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx> Date: Mon, 15 Apr 2002 09:44:12 +0100 |
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@xxxxxxxxxxxx work: Michael.Kay@xxxxxxxxxxxxxx > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Kunal H. > Parikh > Sent: 15 April 2002 01:18 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] non-existing file in docu, Gary Lawrence Murphy | Thread | [xsl] Applying Templates to documen, Kunal H. Parikh |
RE: [xsl] XSLT Java Extensions, Michael Kay | Date | Re: [xsl] Applying Templates to doc, Jeni Tennison |
Month |