[Home] [By Thread] [By Date] [Recent Entries]
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.
|

Cart



