Hi Florian,

The XINCLUDE Option is enabled in the default BaseX configuration.
Which kind of xpointer link do you need?

Those 2 inclusion types seems to be well-implemented is the Java XInclude support (xinclude implementation used in BaseX):

 1 - full document inclusion: <xi:include href='myDocument.xml'/>
 2 - Fragment inclusion: <xi:include href='myDocument.xml' xpointer='element(/1/path/to/fragment' />

Hope this helps,

Regards.

Jérôme


Le 27/04/2015 13:29, Eckey, Florian a écrit :

Hello,

 

i am actually writing my master thesis using basex for xml processing. I need to create consistency links between two xml documents, especially basex databases and its content. So I am certainly looking for xlink and xpointer implementations in basex. Are there any examples to do this with basex or if not, has anyone implemented an xquery version to execute it? I recoginzed that there are capabilities with xinclude. But I does not find any references of xinclude in basex, unless this: http://docs.basex.org/wiki/Options#XINCLUDE

So has anyone ideas or experiences using xlink and especially xpointer with basex or xquery?

 

Regards,

Florian

-------------------------------------------------------
      >>> business. people. technology. <<<
-------------------------------------------------------

adesso AG mit Sitz in Dortmund
Vorstand: Michael Kenfenheuer (Co-Vors.), Dr. Rüdiger Striemer (Co-Vors.), Christoph Junge, Andreas Prenneis
Vorsitzender des Aufsichtsrates: Prof. Dr. Volker Gruhn
Amtsgericht Dortmund HRB 20663

 



-- 
Jérôme Chauveau - CERTIC-DSI - Campus I
Université de Caen Basse-Normandie