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

How to define separate schema definition for the same element type...


define separate
Hi

I have a little schema problem.
I need to define to separate schema definition for the same element type but 
with different attribute how is that possible?

Try look at the small XML example below.

<? XML version=”1.0” ?>
<builder>
<input type=”version1”>
       <description>descr1</description>
       <content>content1</content>
</input>
<input type=”test”>
       <testinfo>info</testinfo>
</input>
</builder>

Who can I create a schema (XSD) where I have a separate definition section 
for each input type?

Shall I use some kind of ID or is there an other way?

Thanks in advance

Kind regards

John
Denmark

_________________________________________________________________
Nem, sjov og hurtig chat med vennerne med MSN Messenger  
http://messenger.msn.dk


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.