xsl-list
[Top] [All Lists]

RE: [xsl] document() function and error-handling

2008-01-03 10:36:16
Look up the XmlResolver class in the MSDN; you can configure the
Transform object to come back to your implementation of XmlResolver and
ask you where the file actually is. If you can't find it, return an
empty XML document, or something like that.  

-----Original Message-----
From: David Carlisle [mailto:davidc(_at_)nag(_dot_)co(_dot_)uk] 
Sent: Thursday, January 03, 2008 12:27 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] document() function and error-handling


You can probably use the msxsl:script extension to give yourself access
to a javascript extension function that checks whether the file is there
and returns true or false.

David

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--