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 ]



> At 16:13 20.11.2003, you wrote:
> 
> >Have you had a look at STX? http://stx.sourceforge.net/.
> 
> Yes, I've looked at that shallowly. I've looked at
> http://www.xmldb.org/xupdate/index.html XUpdate - XML Update Language
> too.
> 
> They're based on full Xpath/XSLT like processing,

I don't think STX has full XPath, as this is not possible
without storing state. Well, depending on your kind of
transformation you may need to store state.

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.

Karl




 

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

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