[Home] [By Thread] [By Date] [Recent Entries]

  • From: Francis Norton <francis@r...>
  • To: Jeni Tennison <mail@j...>
  • 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.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member