Skip to main content

XMLWidgets is a Zope 2 product used to create through the web viewers and editors of ParsedXML content.

Project description


XMLWidgets can be used to create through the web viewers and editors of XML content, stored in ParsedXML.

Note: I don’t expect people to understand XMLWidgets without far more information. For now, perhaps an example would help. Silva’s editor is such an example, so you could install Silva and play with it (see especially the service_widgets directory, and note the scripts in service_setup to register any new widgets).

The XMLWidgets Editor Service is added just once to a Zope system and should be called service_editor. It is a singleton which provides a number of facilities for viewers and editors.

The XMLWidgets Registry is used to register widgets (usually simple Zope folders with content such as page templates and python scripts). Currently they don’t become equipped with any user interface, so you must use Python Scripts to configure them. The XMLWidgets Editor Service then can use this information to render documents (possibly in editor mode).


Main developer:


Valuable feedback from:


0.13.1 (2008/09/30)

  • Reformat documentation to ReST for an egg release.


Bugs Fixed:

  • Now that Silva uses Five for i18n, we can get rid of various compatibility hacks to work around PlacelessTranslationService’s broken unicode support. We essentially go back to 0.10.3’s version of


Bugs Fixed:

  • Also provide facility to use the TALInterpreter’s StringIO() for joins within widget code. This makes Silva more compatible with PlacelessTranslationService’s rather horrible approach to unicode handling.


Bugs Fixed:

  • Make use of TAL.TALInterpreter.TALInterpreter.StringIO() for safe string concatenation. This will make Silva compatible with PlacelessTranslationService.


Bugs Fixed:

  • _getDocumentKey was not used on all places where it should have.


Bugs Fixed:

  • Made the info tab load properly by adding a security declaration.


Features Added

  • Added homepage.html.


Features Added:

  • More rewrites of the caching system. The cache can now be attached to an arbitrary Zope folder, which mainly facilitates the sharing of the cache in a ZEO Cluster setup.
  • The maximum cache size now is configureable by using the edit tab of the EditorService object (in Silva this object has service_editor for its id).

Bugs Fixed:

  • The cache compact() method would not work correctly.


Features Added:

  • Rewritten caching system. Now cache is stored globally and not on Silva editor anymore.


Features Added:

  • render and renderElements now have behavior of renderCached and renderElementsCached – these previous versions still exist for backwards compatibility but will be removed at some point so please switch over to using render and renderElements in your code.


Bugs Fixed:

  • Fixed memory leak; instead of setting node as direct attribute of request, node is set with dictionary notation. This seems to eliminate a memory leak.


Bugs Fixed:

  • Instead of checking for an attribute cached it is now calling a method called cached() on the widget.


Bugs Fixed:

  • Workaround for strange security bug of page templates on Zope2.5.1 (by Clemens Klein-Robbenhaar)


Features Added:

  • Cleanup of ZMI tabs.


Initial Release:

  • Initial public release of the completely rewritten XMLWidgets for ParsedXML.

Project details

Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for Products.XMLWidgets, version 0.13.1
Filename, size File type Python version Upload date Hashes
Filename, size Products.XMLWidgets-0.13.1-py2.4.egg (46.7 kB) File type Egg Python version 2.4 Upload date Hashes View
Filename, size Products.XMLWidgets-0.13.1.tar.gz (20.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page