[silva-dev] Silva XML import/export machinery
Andy Altepeter
aaltepet at bethel.edu
Tue May 23 15:44:57 CEST 2006
> Hmmm, the readme may be out of date, I'll look into that. The way to go
> is create your own sax handlers and producers and register them. This
> may sound more daunting than it actually is, since Silva and Sprout
> provide handy base classes which do a lot of the work. If you look at
> the silvaxml directory of SilvaDocument, you can see how an extension
> can register its own handlers and producers, but since SilvaDocument is
> something of a special case, and rather complicated, a simpler example
> may be in order. SilvaDLCMS now also uses the new import/export
> infrastructure, so have a look at the dlcms_xml directory in the trunk
> version of that, for a relatively simple example.
>
> Silva's own export and import classes may be good examples as well.
If you want even more examples, my Silva extensions (SilvaCustomAutoTOC and
SilvaStylesheets, on zope.org/Members/aaltepet) also implement both the old
and the new xml i/e apis.
Cheers,
Andy
More information about the silva-dev
mailing list