> > Hi jeni, If you want to communicate with jeni then please write to her directly. You're writing to a public list so I assume your message is addressed to everyone. > > case1:Please let me know the case where the two elements > under the same parent element have the same name and both > should refer to the same value. > If the value of one element changed then the value of the > other element with same name should contain same value. > Because both should refer the same reference point. > > case2:Two attributes under the same parent element shold > point the same value and both attributes should have the same value. > If the value of the one attribute changed then the value of > the other attribute with same name should contain same value. > Same for this both should refer the same reference point. > It's helpful to give examples of valid and invalid input, especially if you use non-standard terminology like "point to" and "reference point". It might be possible to achieve this requirement using key and keyref, something like this: <xs:key name="k1"> <xs:selector xpath="@att1"/> <xs:field xpath="."/> </xs:key> <xs:key name="k2" refer="k1"> <xs:selector xpath="@att2"/> <xs:field xpath="."/> </xs:key> Michael Kay http://www.saxonica.com/Received on Friday, 18 January 2008 11:20:08 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 16 March 2009 11:13:39 GMT