[MarkLogic Dev General] Reg: Facets
Jonna Marry
nett77vevi at gmail.com
Tue Oct 5 05:44:46 PDT 2010
Hi all,
I just wanted to get a output like true --> 23 and false -->254 using
cts:frequency($x) for the below given sample XML.
The logic involved here is that if a parent has more than one child it will
be counted as true.
<Parent>
<child1>xyz</child1>
<child2>abc</child2>
</Parent>
Need your thoughts and suggestions on this.
Regards,
Jonna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://developer.marklogic.com/pipermail/general/attachments/20101005/c60a4720/attachment.html
More information about the General
mailing list