Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Streaming Serializer

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Asgeir Frimannsson <asgeirf AT gmail.com>
  • To: XOM API for Processing XML with Java <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] Streaming Serializer
  • Date: Wed, 14 Apr 2010 16:45:55 +1000

On Wed, Apr 14, 2010 at 3:44 PM, Peter Stibrany <pstibrany AT gmail.com> wrote:
> I had bigger problems with NodeFactory which has only
> startMakingElement(String name, String namespace) -- at this point,
> attributes are not yet known, and finishMakingElement(Element element)
> -- at this point, entire element content is built. My code needed to
> react to attributes in root element, but at no point do you get element
> with attributes only, without building entire element content.

You get this with NodeFactory.makeAttribute(...).

cheers,
asgeir




Archive powered by MHonArc 2.6.24.

Top of Page