Hi,

I need to keep separate XML documents which belong to a single entity. But the 
search queries need to treat all these modules of XMLs as a single document to 
resolve the queries. E.g. Consider the following module xmls,


module1.xml

-----------------

<record>

    <fname>Foo</fname>

</record>


module2.xml

-----------------

<record>

    <lname>Bar</lname>

</record>


..and there's a main document which consolidates them


consolidated.xml

----------------------

<record>

    <xi:include href="module1.xml"/>

    <xi:include href="module2.xml"/>

</record>


and I use a query (with all the constraints defined),

        search:search("fname:Foo AND lname:Bar")


It should return "consolidated.xml" as a result.


Is there a way to search in an expanded XInclude document like the above 
example in Marklogic?


Regards,

Soumadri Roy



"This e-mail and any attachments transmitted with it are for the sole use of 
the intended recipient(s) and may contain confidential , proprietary or 
privileged information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. Any 
unauthorized review, use, disclosure, dissemination, forwarding, printing or 
copying of this e-mail or any action taken in reliance on this e-mail is 
strictly prohibited and may be unlawful."
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to