Hi David,

> Each conceptDef is a fragment  (its parent, terminology is a
> fragment Root) I rewrote it as this :

I don't think that defining 'terminology' as fragment Root puts each
conceptDef in its own fragment. Actually, as 'terminology' seems to be
the root element of your document, it would be putting the whole
document in a fragment, which isn't very helpful.

========================
I meant "Fragment Parent" not "Fragment Root"
I set terminology as a "Fragment Parent" which creates fragments for
every conceptDef





> My guess is that the non-existance of elements is not
> indexed.   I would think there would be some way in ML to
> index that information but I cant find it.

It is pretty difficult to put something in an index that isn't there..
:-)
========================

I read in the ML documentation that index are done on concepts not just
terms, so in theory this should be possible...

==================================
A bit of a guess, but it might work if you would do the following
(untested!):

cts:search(doc("/NDFRT/NDFRT_Public_2009.05.12_TDE.xml")//conceptDef,
    cts:not-query(
        cts:element-query(xs:Qname('definingConcepts'),
            cts:element-query(xs:QName('concept'), cts:and-query(()))
        )
    )
)

===============
This is a bit I missed !!! A way to query for  "a/b = c" ... nested
element queries !!
I need to research that.
Thanks.





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

Reply via email to