W3C home > Mailing lists > Public > xmlschema-dev@w3.org > January 2008

Re: elment and attribute have the same ref point

From: Pete Cordell <petexmldev@tech-know-ware.com>
Date: Thu, 10 Jan 2008 17:37:42 -0000
Message-ID: <003501c853af$a0b926d0$a100a8c0@Codalogic>
To: "Sai Suman M" <saisuman@tataelxsi.co.in>, <giles.hogben@jrc.it>
Cc: <xmlschema-dev@w3.org>

It's not currently possible to specify that an attribute should have the 
same value as an element in XML schema.

It's likely that such a constraint will be possible to specify with the next 
version of schema (using xs:assert).  That's a while off though.

HTH,

Pete Cordell
Codalogic
Visit http://www.codalogic.com/lmx/ for XML C++ data binding
----- Original Message ----- 
From: "Sai Suman M" <saisuman@tataelxsi.co.in>
To: <giles.hogben@jrc.it>
Cc: <xmlschema-dev@w3.org>
Sent: Thursday, January 10, 2008 5:55 AM
Subject: elment and attribute have the same ref point



Hi jeni,

Please let me know the case where the element and the attribute point the 
same value.

Here i have the case like both the attribute and value have the same name 
and both should point the same value.
If the attribute value is changes then the element with same name value 
should be change.

Thanks,
M.Saisuman.


This message (including any attachment) is confidential and may be legally 
privileged.  Access to this message by anyone other than the intended 
recipient(s) listed above is unauthorized.  If you are not the intended 
recipient you are hereby notified that any disclosure, copying, or 
distribution of the message, or any action taken or omission of action by 
you in reliance upon it, is prohibited and may be unlawful.  Please 
immediately notify the sender by reply e-mail and permanently delete all 
copies of the message if you have received this message in error.
Received on Thursday, 10 January 2008 17:38:46 GMT

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