[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

xs:include change base type

Subject: xs:include change base type
From: Karl Stubsjoen <kstubs@xxxxxxxxx>
Date: Thu, 6 Jun 2013 14:01:39 -0700
 xs:include change base type
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.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.