[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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@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: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|