Hello Matthias,
Java's internal SAX parser (not the BaseX internal parser) does support XInclude and it should work without problems (if you use the GUI to add documents make sure to disable the "Use internal XML parser" option in the parsing tab). Some more information can be found at https://docs.basex.org/wiki/Parsers#XML_Parsers
Cheers, Dirk
On 10/01/14 17:24, CLEMENT, Matthias wrote:
Hello,
I am trying to load a database consisting of several xml files that use XInclude such that one file will include other files:
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="dfs.xsl"?>
<dfs xmlns:xi=http://www.w3.org/2001/XInclude> <xi:include href="file1.xml" parse="xml"/> <xi:include href="file2.xml" parse="xml"/> </dfs>
baseX does not seem to be able to understand the Xinclude command.
Is this feature missing or is there a way to load my database ?
Regards, M. Clement
CONFIDENTIALITY: This communication is confidential and may be legally privileged and is intended for the named recipients only. If you receive this communication by mistake we prohibit you from using it in any way. Please notify us, delete the communication (and any attachments) and destroy all copies. We do not represent or warrant that this communication is free from computer viruses or other defects. You are responsible for all loss or damage caused directly or indirectly by the use of this communication. If you do not receive all of the email or attachments please notify us immediately by reply email. Any views or opinions expressed in this communication are those of the individual sender, except where the sender specifically states them to be the views or opinions of the Company.
ENVIRONMENTAL NOTE: IN SUPPORT OF OUR ENVIRONMENT, WE RECOMMEND NOT PRINTING EMAILS EXCEPT WHEN ABSOLUTELY NECESSARY
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk