[MarkLogic Dev General] search elements and attributes of all
Pradeep.Maddireddy at HTCinc.com
Tue Dec 30 13:57:09 PST 2008
How can we write an Xquery function to find the documents (XML documents
with different structures) that have the word "fruit" in them either as
an element or attribute?
For example say Doc1 has the following content
Doc2 has the following content
Both the documents should be selected as the first document has "fruit"
as element and second document has "fruit" as an attribute.
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the General