xsl-list
[Top] [All Lists]

[xsl] instance-of schema-element

2008-03-14 10:28:33
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/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--