You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by st...@outerthought.org on 2003/06/11 00:00:04 UTC
[WIKI-UPDATE] ImplementingTransformers Wed Jun 11 00:00:04 2003
Page: http://wiki.cocoondev.org/Wiki.jsp?page=ImplementingTransformers , version: 8 on Tue Jun 10 21:12:40 2003 by WillDrewry
+
+ For those who were looking (I know I was) for information about writing a DOM-based transformer, here are some quick notes to get started: The class to extend is AbstractDOMTransformer. A DOM document will be built for you and the notify() function will be invoked upon completion. Afterward, the transform() function will be invoked. This function is the location to begin implementing your transformer. The DOM document built from the SAX data is passed in as an argument, and the final DOM document to be passed down the pipeline should be returned. Any corrections or "best practice" comments would be appreciated! -- [WillDrewry]
+
+