Skip to Content.
Sympa Menu

xom-interest - [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: Pierre GAUTIER <pierre.pg.gautier AT gmail.com>
  • To: xom-interest AT lists.ibiblio.org
  • Subject: [XOM-interest] XInlcuded fragments and serializing
  • Date: Thu, 24 Jun 2010 16:09:39 +0200

Hello,

I post in this list hoping to find a solution to my problem involving
XInclude.

I'm currently working on a main XML file that is divided into
fragments for collaborative contributions.

Loading the main XML with or without fragments is OK but when comes
the time to save the "document" here come the problems.

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. The sole rest of my include tags is a
xml:base attribute in the root of the included tag.

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 ?

I hope I've been clear enough, I would be glad to give you more
informations if needed.

Thanks by advance for the interest you'll give to my problem,

Best regards,

Pierre GAUTIER




Archive powered by MHonArc 2.6.24.

Top of Page