This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
How to check whether a xml doc is existed using xslt
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] How to check whether a xml doc is existed using xslt
- From: "Yang" <sfyang at unisvr dot net dot tw>
- Date: Tue, 17 Jul 2001 12:23:18 +0800
- Reply-To: xsl-list at lists dot mulberrytech dot com
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@unisvr.net.tw
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list