> Doesn't this achieve the same result (I simply omitted the > third alternative): > > <element name="template"> > <alternative test="@name" type="xslt:named-template"/> > <alternative test="@match" type="xslt:template"/> > </element> > I think the default if none of the alternatives match is not xs:error, it is the "declared type" of the element, which in this case is xs:anyType. Regards, Michael Kay http://www.saxonica.com/ http://twitter.com/michaelhkayReceived on Wednesday, 22 July 2009 19:02:07 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:14:04 GMT