Pierre GAUTIER
2010-06-24 14:09:39 UTC
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 ...
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
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 axml: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