[MarkLogic Dev General] element queries

Shannon Scott Shiflett sss4r at virginia.edu
Thu May 22 13:13:22 PDT 2008


hi hi,

is the only way to do a cts:element-query() on elements by name with  
attribute by name with "text content equal to given phrase" by  
wrapping a cts:element-query() and a cts:element-attribute-value- 
query() in a cts:and-query()?  wondering if there is a way requiring  
fewer lines of xquery.

thank you,
shannon


More information about the General mailing list