This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

How to check whether a xml doc is existed using xslt


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]