Re: Silva XML import/export machinery

Andy Altepeter <[email protected]>
Newsgroups gmane.comp.web.zope.silva.devel
Organization Bethel University
Message-ID <[email protected]>
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.