[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] xs:include change base type

Subject: [xsl] xs:include change base type
From: Karl Stubsjoen <kstubs@xxxxxxxxx>
Date: Thu, 6 Jun 2013 14:01:39 -0700

I would like to extend an xs:complexType, and change one of its
attributes from a type xs:NCName to xs:simpleType, with the same base
type mind you.  So something like this:

<xs:complextType name="myComplexType">
  <xs:attribute name="name" type="xs:NCNAME"/>


<xs:complexType name="myNewComplexType">
  <xs:extension base="myComplextType">
     <xs:attribute name="name" type="some_simple_type"/>

Is this possible?  I've tried but having no luck.

Current Thread