W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2002

Out of band attributes

From: Beyer,Nathan <NBEYER@cerner.com>
Date: Thu, 7 Mar 2002 12:46:40 -0600
Message-ID: <68ADFB4BE17A614B80FFFF6CDBC1A8160C6A78FB@mailwhq1.cerner.com>
To: "Schema Dev XML (E-mail)" <xmlschema-dev@w3.org>
Is there a way in which I can declare an attribute, so that I could attach
to ANY element. My goal is to not have to declare it as an attribute for
every element. I have about 600 schemas and I'd like to attach this
meta-data attribute to any of the elements, at any time. I'd like to use it
in a similar fashion as the "xsi:type" attribute is used, in that it can be
placed on any element at any time.

Does anyone know how I can express that in XML Schema? Or is this not
possible?

Something like this:

<Address>
	<Street txt:process="true">123 W. Main</Street>
	<Street2 txt:process="true">Apt. B</Street2>
	<City>Somewhere</City>
	<State>MO</State>
	<Zip>64114</Zip>
</Address>

Thanks.

---
Nathan Beyer
MillenniumObjects
Cerner Corporation
2900 Rockcreek Parkway
Kansas City, MO 64117
Phone: 816.201.2343
Pager: 913.644.0064
Fax: 816.201.8343
Email: nbeyer@cerner.com

CONFIDENTIALITY NOTICE

This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024.
-------------------------------------------
Received on Thursday, 7 March 2002 13:47:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:29 GMT