From: Christian S. <chr...@ne...> - 2003-06-24 10:32:56
|
Mike Bowler wrote: > Christian Sell wrote: > > you must be on packard bell!? > > Rogers.com, a Canadian cable modem provider. > > > well, I see 2 ways to achieve this: > > > > 1. Use Nekos SAX interface. This would allow you to build your own > > custom hierarchy without ever caring about the w3c interfaces > > > > 2. Use the DOM interface. There is a property in neko/xerces that > > allows you to set the org.w3c.dom.Document implementation > > implementation class. That classes methods are called during parsing > > to create the individual nodes. Of course this would mean you have to > > implement the full org.w3c.dom interfaces. > > > > The property name is > > "http://apache.org/xml/properties/dom/document-class-name" > > Ok, I think I understand what you're proposing. The first approach > seems cleaner (Not use DOM at all) but I've got this nagging thought > that not having a DOM would break something important. I'll think about > this see if I can figure out what it would break if we did this. I am not sure how writing to the DOM from within Javascript is done. If those routines depend on the w3c DOM, then would be a problem > > In the meantime, comments from others would be welcome. This would be a > fairly significant change. > |