Hi Marco,

It didn’t go unanswered. Here’s Alex’s reply: https://mailman.uni-konstanz.de/pipermail/basex-talk/2018-May/013147.html Although his answer doesn’t address the issue of recreating xi:include elements from elements with an xml:base attribute.


On 27.06.2018 17:34, Marco Randazzo wrote:
I’m posting again the same question I did some time ago, unfortunately unanswered L

I used baseX GUI (9.0.1) to create a database similar to the following test file:

<main xmlns:xi="http://www.w3.org/2001/XInclude";>

     <xi:include href="folder1/file1.xml" />

     <xi:include href="folder2/file1.xml" />


The Result displayed in the baseX gui is correct:

<main xmlns:xi="http://www.w3.org/2001/XInclude";>

   <data xml:base="folder1/file1.xml">5555</data>

   <data xml:base="folder2/file1.xml">6666</data>


Now, after editing the values, I would like to export the contents of the database to MULTIPLE xml files, recreating the same files and the original folders (I see this information is not lost, it is stored in the value of xml:base)

However, using the export function available in the baseX GUI, I am able to obtain only a SINGLE file containing the Result shown above, where the two files have been merged in a single file.

What can I do?

Thank you,

Marco Randazzo

Gerrit Imsieke
Geschäftsführer / Managing Director
le-tex publishing services GmbH
Weissenfelser Str. 84, 04229 Leipzig, Germany
Phone +49 341 355356 110, Fax +49 341 355356 510
gerrit.imsi...@le-tex.de, http://www.le-tex.de

Registergericht / Commercial Register: Amtsgericht Leipzig
Registernummer / Registration Number: HRB 24930

Geschäftsführer / Managing Directors:
Gerrit Imsieke, Svea Jelonek, Thomas Schmidt

Reply via email to