XML Merging while reading from the DB

Saturday, 18 August 2018 · 1 message
DS
DK Singh18 Aug 2018 05:37 #
Hi All, I have ingested the XML into DB having node "include" and within "include" some file referenced, when i read the file from the DB it merges the each XML , is there any way to disabled include functionality while reading the file.
Input
==========================
<book xmlns="http://docbook.org/ns/docbook" xmlns:xlink="
http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML"
xmlns:xi="http://www.w3.org/2001/XInclude" version="5.0-extension bp-0.1"
role="fullText" xml:id="b-9781845928315" xml:lang="en"
outputformat='e-Only'>
<xi:include href="test1.xml"/>
<xi:include href="test2.xml"/>
</book>
i am reading the file using fn:doc() or db:open() both the function Merging included files. Note: i don't have to set the option on the DB label to disable xinclude . Regards Dharmendra Kumar Sing

⚡Generated with XQuery