You are not logged in Log in Join
You are here: Home » Members » arielpartners » XML Transform » dc_view

Log in
Name

Password

 
 


Dublin Core Elements

The Dublin Core metadata element set is a standard for cross-domain information resource description.
Element Description Value
Identifier resource ID http://old.zope.org/Members/arielpartners/XMLTransform
Title resource name XML Transform
Description resource summary <div/> <table width="100%"> <tbody><tr><td bgcolor="#ffff00"><div align="center"> <b> <a href="http://zopexmlmethods.sourceforge.net">ZopeXMLMethods</a> is the successor project to XMLTransform, which is still available but no longer maintained. You might want to look there instead... </b> </div> </td></tr></tbody></table> <div/> <div> XMLTransform enables Zope users to associate an XSLT transformer with an XML document that automatically renders the result of the transformation when called. It can behave like either a Page Template or a DTML Method. There are no constraints on the type of Zope objects used for the XML or XSLT. In fact, the content may cobbled together from multiple sources, as long as the final content may be obtained as well-formed XML from a single object for each. </div> <div> The XMLTransform product adds three separate objects to the "Add" menu in the Zope Management Interface: <ul> <li>XML Transform</li> <li>XML Transform Cache Manager</li> <li>XML Transform Registry</li> </ul> </div> <div> XMLTransform features a pluggable architecture that makes it possible to dynamically choose between different XSLT Processors at runtime. It currently works with any of the following combinations: <ul> <li>PyXML 0.66 and 4Suite 0.11.1</li> <li>PyXML 0.7.1 and 4Suite 0.12.a3</li> <li>libxml2 2.4.26 and libxslt 1.0.22 (Python bindings)</li> <li>Pyana 0.6</li> <li>Sablotron 0.96 and Sab-Pyth 0.52</li> </ul> </div> <div> (See README for more details). </div> <div> An XMLTransform is a Zope object that links an XML document to a desired XSLT script. The XMLTransform automatically runs the XSLT transformation and renders the results when accessed through DTML or page templates. </div> <div> An XMLTransform object contains neither the XML source document nor the XSLT transformer. Instead, it obtains each of them from two separate Zope objects, whose IDs are recorded as properties. In this way, an XMLTransform object represents an association between an XML document and a transformer. <div style="margin:1em">This feature differentiates XMLTransform from other XML/XSLT-based Zope products, in that it recognizes the fact that there is often a many to many relationship between XML documents and XSLT transformers. </div> <div> The XML source pointed to by an XMLTransform can come from anywhere, for example: <ul> <li> Content retrieved from an SQL database and converted to XML format </li> <li> A DTMLDocument that is an XML file, with portions grabbed from other objects via DTML tags. </li> <li> An XMLFile instance (XMLFile is part of the XMLKit Zope product) </li> <li> CVSFile object that points to an external XML document in a CVS repository (CVSFile is part of the CVSFile Zope product) </li> </ul> </div> <div> The only requirement is that Zope object from which XMLTransform obtains the XSLT source must support the <tt>__call__()</tt> method, and that the resulting XML must be well-formed. </div> <div> Unfortunately, two well-known Zope products do not support the <tt>__call__()</tt> method <ul> <li> <a href="http://www.zope.org/Members/faassen/ParsedXML">ParsedXML</a> Zope product </li> <li> Zope File objects </li> </ul> </div> <div> We expect to add the capability to specify an alternate method (for example, <tt>__str__()</tt> would work in both cases above) to call in a future release of XMLTransform. </div> <div> In this way, XMLTransform can be used to form "pipelines," where the output of one object becomes the input of the next. This approach is more modular: each kind of object performs only one task, and can be tested and/or replaced on an individual basis. </div> <div style="font-weight: bold;margin-top:1em;margin-bottom:1em;"><a href="tutorial">Tutorial</a></div> <div style="font-weight: bold;margin-top:1em;margin-bottom:1em;"><a href="todo">Todo List</a></div>
Creator resource creator ZopeOrgSite
Date default date 2003-04-06 23:40:10
Format resource format text/html
Type resource type Software Package
Subject resource keywords Content Object, Developer, Examples, External Access
Contributors resource collaborators
Language resource language
Publisher resource publisher No publisher
Rights resource copyright


Additional Zope Elements

Element Description Value
CreationDate date resource created 2003-04-06 23:40:10
ModificationDate date resource last modified 2003-04-06 23:40:10
EffectiveDate date resource becomes effective None
ExpirationDate date resource expires None

Backlinks: via Google / Technorati