[Home] [By Thread] [By Date] [Recent Entries]

Subject: How to check whether a xml doc is existed using xslt
From: "Yang" <sfyang@xxxxxxxxxxxxx>
Date: Tue, 17 Jul 2001 12:23:18 +0800
Hi,

It may be a stupid question,  I try to use
<xsl:if test="document('x.xml')"> ..do something </xsl:if>
if there is the x.xml doc presented.
 I am using IE5 , msxml 3, and get error message when no x.xml exists.
Is there a way to prevent error message occuring wih
no specified x.xml defined?

Thanks.

Sun-Fu Yang

sfyang@xxxxxxxxxxxxx







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


Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member