|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








