[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] checck if external xml is valid with xsl/javascript?


Subject: [xsl] checck if external xml is valid with xsl/javascript?
From: "Armand Datema" <armand.datema@xxxxxxxxxxxxxxx>
Date: Mon, 28 Jul 2003 09:58:41 +0200

Hi

I have the following in my xsl:

<xsl:for-each select="document($vacature_url)//vacature">

However, since this external xml is not in our control sometimes its not
valid and screws up the rest of the page.

Can I check from within my xsl file if the external xml is valid and
based on that either run the  for each or skip it?

Thanks

Armand

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



Current Thread
Keywords