You are not logged in Log in Join
You are here: Home » Members » jim » ZDOM-save » XMLDocumentInterface

Log in
Name

Password

 
 
Object Value manipulation »

XMLDocumentInterface

While working on the use cases for XML Document I came across an issue:

The following is the premise for this issue: XML style sheets are zope objects themselves. XML translations are handled by calling XML style sheets "on" XML Documents (much like you would call a DTML Method on an Zope object)

Issue:

From a zope manager's perspective, shouldn't there be another way for a manager to view (or in this case preview) a translation besides viewing the result of calling an XSL Style sheet on the XML Document in question. For the purpose of debugging/previewing an XML Document, it would seem like another use case would make sense:

User previews the result of translating XML Document with a specific stylesheet

Result:

The translation is viewed on-screen in the management interface

Precondition:

  • XML Document is stored as Zope Object
  • The default XSL stylesheet has been specified
  • The default XSL stylesheet is stored as Zope Object and available (along aquisition path)

Flow of Events:

  1. Manager selects XML Document
  2. Manager selects Preview tab

Chime