OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] Updating document with SAX

[ Lists Home | Date Index | Thread Index ]

> >To make such (and general) SAX tasks easier for me
> >I have actually written a class that allows me to
> >register "element handlers" with path epressions
> >(just plain relative paths plus wildcards). This has
> >helped me organize my code better around the parts
> >in the document I am interested in.
> >
> >Something similar might be helpful for you.
> Yep, of course. My idea was about updating the document or
> binding updatable data into variables,
> state handling is part of it of course. Maybe I wasn't very clear with
> my explanations/pseudo code.

Are you asking how to update a document in the middle?
I would rather write the document out again, firing SAX events
to a SAX writer, the modifcations being achieved by firing 
different events (in some parts) than those received from the parser



News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS