I'm learning that cts:search() is vastly faster then xpath expressions
...
So I'm trying to come up with a cts:search() for the following
doc("/NDFRT/NDFRT_Public_2009.05.12_TDE.xml")//conceptDef[empty(defining
Concepts/concept)]
This is searching for all conceptDef elements which have no
definingConcepts/concept children
This is taking about 10 seconds right now.
I cant find any cts:* query which queries for non-existance of child
nodes.
Last resort I was thinking of pre-batch-updating these nodes with an
attribute so I could search on an attribute value.
But was hoping for a query like cts:empty-element-query()
Any suggestions ? Thanks !
----------------------------------------
David A. Lee
Senior Principal Software Engineer
Epocrates, Inc.
[email protected] <mailto:[email protected]>
812-482-5224
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general