[XML-SIG] Zope and DOM

Uche Ogbuji uogbuji@fourthought.com
Tue, 06 Jun 2000 09:59:04 -0600

> >>>>> "PP" == Paul Prescod <paul@prescod.net> writes:
>  PP> "Rob W. W. Hooft" wrote:
>  >>  I'll be waiting for this, as currently a 37kB XBEL file which I
>  >> read into Zope using XMLDocument (actually a Zsubclass [or is that
>  >> subZclass?]  XBELDocument that I wrote) turned into a 550kB
>  >> ZODB.... I guess with the power you are describing here that can
>  >> be made a lot more efficient.
>  PP> Unless you do some tricky stuff, a 10* blowup is par for the
>  PP> course in importing XML documents into object databases. All of a
>  PP> sudden you've got pointers all over the place from elements to
>  PP> their parents and to their siblings and so forth.  
> Reading the original message, I thought that the "tricky stuff" might 
> become available. If the dom-ification could stop at the "bookmark" level
> in an XBEL file, the total amount of objects would drop significantly.

This is precisely the tricky stuff we have in mind.  The current thinking is 
to use a (lightly) specialized XSLT transform to specify how elements are 
converted to ZObjects.

Uche Ogbuji                               Principal Consultant
uche.ogbuji@fourthought.com               +01 303 583 9900 x 101
Fourthought, Inc.                         http://Fourthought.com 
4735 East Walnut St, Ste. C, Boulder, CO 80301-2537, USA
Software-engineering, knowledge-management, XML, CORBA, Linux, Python