Hi

I need to get a list of URIs of documents which contain <ElementA> with
child <ElementB>:

for $doc in fn:doc()[//ElementA//ElementB]
return fn:document-uri($doc)


What is the quickest way of achieving this? At the moment I've got:

cts:uris((),'document', 
  cts:element-query(xs:QName('ElementA'), 
    cts:element-query(xs:QName('ElementB'), '*')
  )
)

It doesn't feel like a very good solution though, any better ideas?

Thanks
Rob



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

Reply via email to