Is it possible to restrict an IDREF attribute so that it only matches child ID values?

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Suppose I have the following XML snippet:
<pre class="prettyprint <x child="value
<y id=z/>
</x>[/code]
I want to ensure that "x/@child" is limited, in this case, to "z". ("value" is a placeholder.") How do I do that?<br/>
<hr class="sig Will Pittenger

View the full article
 
Back
Top