This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: How to determine element-type ?
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] How to determine element-type ?
- From: Francis Norton <francis at redrice dot com>
- Date: Mon, 23 Apr 2001 16:05:05 +0100
- References: <55CB9FEAE87DD411A83200508BDF0DFE06D189@himail8.hi.bosch.de>
- Reply-To: xsl-list at lists dot mulberrytech dot com
"Mengel Andre (FV/SLM) *" wrote:
>
> Is it possible to determine the type of a simple content element within
> an XSL-Stylesheet by using the apropriate Schema ?
>
not normally, but MSXML4 (just out in very first beta release) has
extensions to XPath to allow this, eg
boolean ms:type-is(string URI, string local-name)
which can be used to select elements which are of a particalar type or
its descendents.
Francis.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list