Apologies if this is a common and/or elementary question, but I couldn't find 
an answer in the ML docs or list archives.

I'd like to add an element range index for an element, but only include element 
values when the element occurs in a specific context -- namely when a 
particular attribute has a particular value. Example:

<language>
  <languageTerm type="text">English</languageTerm>
  <languageTerm type="code" authority="iso639-2b">eng</languageTerm>
</language>

I want to index <languageTerm> when @type = "text", but not otherwise. Doable?

Thanks,
Greg

Gregory Murray
Digital Library Application Developer
Princeton Theological Seminary

_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to