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

Define general elements

From: <Philipp.Bolliger@risk.sungard.com>
Date: Mon, 24 Jan 2005 17:33:08 +0100
To: xmlschema-dev@w3.org
Message-ID: <OFE4AC9F14.D819F891-ONC1256F93.005AE2D4-C1256F93.005ADD42@risk.sungard.com>
define general
Dear All,

I'm not sure if this is the right place to ask this question but I 
couldn't find a forum or bb on the net better than this.

I'm using xml-files as a long-term persistency for my application. 
Naturally file-size is quite big on average and I don't want to use an 
exact schema because the effort of keeping it up-to-date is just to big.

All my objects (that become xml-elements) DO have something in common 
like:

 ALL elements in the xml-file will have an attribute 'id' and and an 
attribute 'role'
SOME elements do have an attribute 'action'

Is it possible to model these constraints using XML Schema, even if I 
don't wont to create named elements (ie <xs:element name="ObjectA" ...) ??

Your help is very much appreciated!

THX
Received on Monday, 24 January 2005 20:31:29 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

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-2007 All Rights Reserved.