jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ard Schrijvers" <a.schrijv...@hippo.nl>
Subject RE: XPath Request Into XML File
Date Wed, 21 Nov 2007 10:11:06 GMT


> Hi,

> 
> I would like to know if we can made an XPath query into an 
> XML file saved as a binary in the JCR repo.
> 

No this is not possible. XPath queries are done on nodes and properties.
If you need to query the xml with XPath, I think you should either store
every xml element as a node and attribute as a property (though this
might get way to big ofcourse) or fetch the xml binary file and parse
it. 

Ard

>  

Mime
View raw message