From: Mike B. <mb...@Ga...> - 2003-06-24 10:15:14
|
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. In the meantime, comments from others would be welcome. This would be a fairly significant change. -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com |