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
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to