You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Tobias Anstett <to...@iaas.uni-stuttgart.de> on 2008/06/22 13:41:06 UTC

Import and Export of XML

Hi,

 

I have imported some XML Documents to my Jackrabbit instance. And I was
pretty impressed that I can execute xpath statements on it J But I haven't
found a way to get the whole document out again. 

- How can I export my XML again without having the jcr:* annotations in it ?
-

 I wouldn't save it as file because I will lose the xpath querys capability,
aren't i ?

 

I'd like to use Jackrabbit as repository for xml files and use its
versioning capabilities.

 

 

Regards Tobias

 

--

Tobias Anstett

Institute of Architecture of Application Systems (IAAS) |Tel. (+49)711 7816
464

University of Stuttgart                                 |Fax. (+49)711 7816
472

Universitaetsstr. 38, 70569 Stuttgart                   |Room 1.332

 


Re: Import and Export of XML

Posted by Florian Holeczek <fl...@holeczek.de>.
Hi Tobias,

import and export of XML is mainly for backup and migration purpose.
Jackrabbit isn't an XML database.
You could postprocess your XML file and filter the jcr: entries away.
However, I don't know whether the entry order is or can be preserved.

Regards,
 Florian

Ursprüngliche Nachricht vom 22.06.2008 um 13:41:
> Hi,

>  

> I have imported some XML Documents to my Jackrabbit instance. And I was
> pretty impressed that I can execute xpath statements on it J But I haven't
> found a way to get the whole document out again. 

> - How can I export my XML again without having the jcr:* annotations in it ?
> -

>  I wouldn't save it as file because I will lose the xpath querys capability,
> aren't i ?

>  

> I'd like to use Jackrabbit as repository for xml files and use its
> versioning capabilities.

>  

>  

> Regards Tobias

>  

> --

> Tobias Anstett

> Institute of Architecture of Application Systems (IAAS) |Tel. (+49)711 7816
> 464

> University of Stuttgart                                 |Fax. (+49)711 7816
> 472

> Universitaetsstr. 38, 70569 Stuttgart                   |Room 1.332

>