[xsl] instance-of schema-element

Subject: [xsl] instance-of schema-element
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Fri, 14 Mar 2008 14:28:02 +0000
If I've got a variable $foo which contains the element <foo/>, if I do:

<xsl:if test="$foo instance of schema-element(foo)">

...does that mean $foo is validated at that point?

Is this a way of testing the output to see if it will pass result
validation before actually doing it?


thanks
-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/

Current Thread