Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] XInlcuded fragments and serializing

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Michael Ludwig <milu71 AT gmx.de>
  • To: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] XInlcuded fragments and serializing
  • Date: Thu, 24 Jun 2010 16:55:15 +0200

Pierre GAUTIER schrieb am 24.06.2010 um 16:09 (+0200):

> Once loaded all the fragments included in the main XML make a single
> document and when I have to save this document all my <xi:include ...>
> tags are removed and the content of the initial fragments included is
> saved into the main file.

Calling XIncluder.resolve() replaces the <xi:include> elements by the
content their pointing to.

> Is there a way to male XOM save the right elements in the right files
> or should i chop the main XML myself after writing it ?

Don't think so, but maybe you could process the files included via
<xi:include> instead of building the master document?

--
Michael Ludwig




Archive powered by MHonArc 2.6.24.

Top of Page