Hi,

I start playing a bit with the DLS library because I want to keep an history of version modification.
The version management works well but now I'm facing a new problem.

My queries aren't returning only the last version matching documents, but every single version matching the current query.
Is there an unobtrusive way to hide version result (without explicitly use cst:search with dls:documents-query()) ?

For exemple I want that :

doc()//value

return 
<value>TEST1</value>
<value>TEST3</value>
<value>TEST2</value>
<value>TEST4</value>
and not

<value>TEST1</value>
<value>TEST1</value>
<value>TEST3</value>
<value>TEST2</value>
<value>TEST4</value>
because document containing TEST1 is currently managed.

Thanks
Stéphane


Stéphane TOUSSAINT
XMS Technical Product Leader
Tel : 01.61.08.50.30
Std : 01.61.08.50.20
Fax : 01.61.38.24.41

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

Reply via email to