xsl-list
[Top] [All Lists]

[xsl] xs:include change base type

2013-06-06 16:01:49
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:sequence>...</xs:sequence>
  <xs:attribute name="name" type="xs:NCNAME"/>
</xs:complexType>


Then...

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


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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>
  • [xsl] xs:include change base type, Karl Stubsjoen <=