I want to display a set of documents that have a common attribute on the
root node.  However, the root nodes of the documents can have any tag name
such as <html>, <xml>, ...

I can do this easily with XPath similar to this

  element()/@lang[. eq 'eng']

However, I'd like to use search:search for pagination and sorting of
results.  The problem is I don't know a way to specify a generic parent for
an attribute in a cts query.

Any ideas or help is very appreciated.

-- 
Keith
"Do what you can, with what you have, where you are." - Theodore Roosevelt
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to