Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: [xsl] XSLT 2.1: ElementTest against several names?

From: "Michael Kay" <mike@------------>
To:
Date: 12/1/2008 11:14:00 AM
>   There have been a few discussions about XSLT 2.1 in the 
> past few weeks.  I have a further question about this.  Is 
> there any plan to add the ability to have an ElementTest 
> against several element names?
> (and equivalent for other KindTest that take a name)  Something like:
> 
>     element(my:element|ns:elem)

No, there's no such proposal on the table.

I would have thought it likely, given a well-designed schema, that if it
makes sense for a function to accept either of these two types, they will
have some relationship in the schema. For example, they will be members of
the same substitition group, or they will have the same type. You should
then be able to refer to them generically using the substitution group name
or the type name.

Michael Kay
http://www.saxonica.com/


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent