xsl-list
[Top] [All Lists]

checck if external xml is valid with xsl/javascript?

2003-07-28 00:58:41
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