jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: custom xml import
Date Wed, 11 Feb 2009 08:39:36 GMT
Hi,

On Wed, Feb 11, 2009 at 8:55 AM, Torgeir Veimo <torgeir@pobox.com> wrote:
> I have a small project where I'd like to import a fragment of an xml file,
> and I have to use my own custom entity resolver. Ideally, I'd like to
> specify which node to import using an xpath query. Have anyone done
> something similar and have some code to share?

The easiest approach to this is probably to apply an XSL
transformation to the source XML before passing it to an import
content handler. A JAXP Transformer should do the trick.

BR,

Jukka Zitting

Mime
View raw message