I suspect you can achieve what you want using xs:redefine. It's not a facility I recommend to people, because I think it causes confusion, but it seems to do what you are looking for.
__________________
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference
|