[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Types and Context
- From: Francis Norton <francis@redrice.com>
- To: Jeni Tennison <mail@jenitennison.com>
- Date: Tue, 22 May 2001 11:38:04 +0100
Jeni Tennison wrote:
>
> But it would be more extensible if we had a way of matching *all*
> elements of the this:person type instead:
>
> <xsl:template match="*[xs:type('this:person')]">
> ...
> </xsl:template>
Exactly - this also covers the symmetrical (but I hope less frequent)
case where elemements of different types have the same name (which XML
Schema permits as long as they are not in the same content model).
Francis.