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

Extending a Schema Definition

  • To: xml-dev@l...
  • Subject: Extending a Schema Definition
  • From: Cristian Pascu <cristi.pascu@c...>
  • Date: Fri, 19 May 2006 20:17:50 +0300
  • User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)

cristi pascu
Hi all!

Probaly this is a simple and common problem but I happen not to know the 
answer. I would like to be able to create a xml schema that declares 
some elements and when creating a xml document that also uses another 
xml schema elements to be able to not use namespace declaration.

Example:

Schema 1 has element :  *beans* which contains *bean* elements.
Schema 2 (the one I write) has element *model* with *class* elements.

I want to be able to write something like:

<beans>
    <bean ... />

    <model>
          <class ... />
    </model>
</beans>

..no namespaces!

Or, if this is not posiblie, at least:


<beans>
    <bean ... />

    <ns:model>
          <class ... />
    </ns:model>
</beans>


Thanks a lot!

-- 
<aop:spring-configured />


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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.