Hi ,
In the result of an cts:element-values , if 2 values are having the same
frequency , in what order will they be returned in the result?
For Eg :
<doc>
 <entry>
  <type>1</type>
  <a>123</a>
  <b>1</b>
  <b>1</b>
  </entry>

<entry>
<type>1</type>
<a>113</a>
<b>1</b>
</entry>
<entry>
  <type>1</type>
  <a>124</a>
  <b>1</b>
  <c>33</c>
  <d>44</d>
<p>33</p>
<l>66</l>
 </entry>
</doc>
For the following query

cts:element-values(xs:QName("a") ,(),("frequency-order","concurrent"),
cts:and-query ((
cts:document-query($docurl),cts:element-value-query(xs:QName("type"),"1"),
cts:element-value-query( xs:QName("b"),"1"))) )

I am getting the result as 113 123 124 . How is the order of this sequence
determined ?
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to