Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Custom Serializer?

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Egon Willighagen <egon.willighagen AT gmail.com>
  • To: XOM API for Processing XML with Java <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] Custom Serializer?
  • Date: Wed, 5 Aug 2009 22:19:26 +0200

On Wed, Aug 5, 2009 at 10:16 PM, Elliotte Rusty
Harold<elharo AT ibiblio.org> wrote:
> On Wed, Aug 5, 2009 at 12:46 PM, Egon
> Willighagen<egon.willighagen AT gmail.com> wrote:
>
>>> Why do you need to control the XML declaration?
>>
>> Because the output is going to end up in other XML documents (not
>> generated by XOM).
>
> In that case you may want to be writing elements rather than documents.

Well, that was sort of what I was getting at, and since I did not find
such, I used the aforementioned 'workaround'...:

Can I format (read indent) Element(s) into a String with indentation,
just like I can do with Serializer for documents?

Egon

--
Post-doc @ Uppsala University
http://chem-bla-ics.blogspot.com/




Archive powered by MHonArc 2.6.24.

Top of Page