Table of Contents

Module: xslt eXistDA/xslt.py

xslt.py : XSL transformation with local 4Suite in eXistDA

Imported modules   
import eXistDA_utils
import types
from zLOG import LOG, INFO
Functions   
transform
  transform 
transform (
        xslStyleSheet,
        xmlInput,
        params=None,
        xsl_base_uri='',
        apply_xsl=1,
        )

Performs an XSL transformation of xmlInput with xslStyleSheet. Returns a string containing the result of the XSLT.

  • xslStyleSheet : a string or stream containing the XSL to use

  • xmlInput : the XML string to be transformed

  • params : a dict containing the parameters to be passed to the xsl

  • xsl_base_uri : base uri of the XSL

  • apply_xsl : set to 1 (default) to apply the XSLT, 0 to return the XML string not transformed


Table of Contents

This document was automatically generated on Tue Jul 20 14:11:38 2004 by HappyDoc version 2.1