xsl-list
[Top] [All Lists]

RE: testing for typeof

2003-05-06 00:01:10
Look for the "instance of" operator:

<xsl:if test="$item instance of node()*">
<xsl:if test="$item instance of xs:string">
etc

The syntax has changed slightly in the latest working
draft (published
yesterday): Saxon 7.5 implements the new syntax.

Michael Kay

I saw you put 7.5 up - I have it - shall now play -
thank you much sir

Cheers,
Rob

    _/  _/_/    _/_/_/
   _/_/   _/ _/     _/
  _/               _/
 _/             _/
_/          _/_/_/_/
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net

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



<Prev in Thread] Current Thread [Next in Thread>