Search the web
Sign In
New User? Sign Up
rng-users · RELAX NG users
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Value constraints   Message List  
Reply | Forward Message #1064 of 1155 |
Hi,

I wondered if it's possible in RelaxNG schemas to enforce value
constraints. For example:

<foo id="12345" />
<bar references="12345" />

Can I somehow ensure that the "references" attribute only contains
values that appeared as attribute "id" of any "foo" element?

Best regards
Andreas



Mon Jul 6, 2009 12:33 pm

AndiDog@...
Send Email Send Email

Forward
Message #1064 of 1155 |
Expand Messages Author Sort by Date

Hi, I wondered if it's possible in RelaxNG schemas to enforce value constraints. For example: <foo id="12345" /> <bar references="12345" /> Can I somehow...
Andreas Sommer
AndiDog@...
Send Email
Jul 6, 2009
1:35 pm

... I see your requirement as a referential constraint, which is a particular kind of value constraint. ISO/IEC 19757-2 RELAX-NG supports simple value...
G. Ken Holman
g_ken_holman
Offline Send Email
Jul 6, 2009
2:21 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help