OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Types and Context



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.