Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - Two attributes should have same reference point/Two elements should have same reference point under the same root elment [Thread Next] RE: Two attributes should have same reference point/Two elements should have same reference point under the same root elmentTo: <saisuman@---------.--.-->, <xmlschema-dev@--.---> Date: 1/23/2008 9:25:00 AM I don't think this can be done without assertions, which is a new feature in XSDL 1.1. Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: xmlschema-dev-request@w... > [mailto:xmlschema-dev-request@w...] On Behalf Of Sai Suman M > Sent: 23 January 2008 04:53 > To: xmlschema-dev@w... > Subject: Two attributes should have same reference point/Two > elements should have same reference point under the same root elment > > > Hi, > > Please let me know the case, i am giving the example here, > EX: > <staticroutes> > <ip ip="route1"> > <via>192.168.55.1</via> > <via>192.168.55.1</via> > <mtu>5000</mtu> > <metric>5</metric> > </ip> > </staticroutes> > > In the above example two elments having the same name and > both contains the same value.If the user change the value of > one element via second element via should be changed with same value. > EX: > <staticroutes> > <ip ip="route1"> > <via>192.168.55.2</via> > <via>192.168.55.2</via> > <mtu>5000</mtu> > <metric>5</metric> > </ip> > </staticroutes> > Both should point the same value. > > Please let me know the schema design for that. > > Thanks, > M.Saisuman. > > > The information contained in this electronic message and any > attachments to this message are intended for the exclusive > use of the addressee(s) and may contain proprietary, > confidential or privileged information. If you are not the > intended recipient, you should not disseminate, distribute or > copy this e-mail. Please notify the sender immediately and > destroy all copies of this message and any attachments > contained in it. > > Contact your Administrator for further information. > > | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
