Is there a way to constrain the list of element values based on an attribute of 
the element? For example, given the XML below:

<para>The topics <topic-ref 
uri="org.lds.topics/gratitude">gratitude</topic-ref> and <topic-ref 
uri="org.lds.topics/gratitude">thankfulness</topic-ref> are similar.</para>

I would like to have the index based on the value of the uri attribute but 
return the text node from the element. In the case above, that would mean just 
one item, "gratitude." It appears that you can create an index on an element or 
an attribute, but not a combination.

----------------------------------------------------------------------
NOTICE: This email message is for the sole use of the intended recipient(s) and 
may contain confidential and privileged information. Any unauthorized review, 
use, disclosure or distribution is prohibited. If you are not the intended 
recipient, please contact the sender by reply email and destroy all copies of 
the original message.
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to