Hello,

I have a modular document with xinclude in my database, example:

main.xml

<main>
<item id=“1”>
<xi:include href=“/documents/item1.xml” />
<text>Introduction</text>
</item>
</main>

item1.xml

<body>
<p>Hello world</p>
<tags>
<tag>Study</tag>
<tag>Development</tag>
</tags>
</body>


so, I want to make a search when I can filter all the main files and make some 
filters to the item1.xml. something like this:


cts:search( fn:collection(“mainDocuments”) , 
                        cts:and-query(( 
                                cts:element-value-query(xs:QName(“text”), 
“Introduction”), 
                                cts:element-value-query(xs:QName(“tag”), 
“Study”) 
                        )) 
                )


is it possible to achieve with Marklogic?

-- 
FABIAN JARAMILLO ORDOÑEZ
SOFTWARE ARCHITECT
Yuxi Pacific Latam S.A.S
Carrera 38 #10-36 Oficinas 801/802
Medellín, Antioquia, Colombia.
Tel: +57-4-2661968/2661977
Mobile: +57-300-2098933
Skype: yuxi-fabian
http://www.yuxipacific.com/

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

Reply via email to