Path

ez components / documentation / api reference / 2008.1 / document


Document: ezcDocumentXsltConverter

[ Tutorial ] [ Conversion ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Class: ezcDocumentXsltConverter

Base class for conversions between XML documents using XSLT. [source]

Parents

ezcDocumentConverter
   |
   --ezcDocumentXsltConverter

Descendents

Child Class Description
ezcDocumentXhtmlToDocbookConverter Converter for eZ Publish 3 document to eZ Publish 4 documents.
ezcDocumentEzp3ToEzp4Converter Converter for eZ Publish 3 document to eZ Publish 4 documents.

Member Variables

protected array $customInlineTags
Array with custom inline tags, as a storage for static calls from the template.
protected string $xslt
Path to XSLT transformation file
protected XSLTProcessor $xsltProcessor = null
XSLT processor created from the defined XSLT file.

Inherited Member Variables

From ezcDocumentConverter:
protected  ezcDocumentConverter::$options

Method Summary

public void __construct( $xslt )
Construct converter
public ezcDocumentXmlBase convert( $doc )
Convert documents between two formats

Inherited Methods

From ezcDocumentConverter :
public ezcDocumentConverter ezcDocumentConverter::__construct()
Construct new document
public abstract ezcDocument ezcDocumentConverter::convert()
Convert documents between two formats

Methods

__construct

void __construct( string $xslt )
Construct converter
Construct converter from XSLT file, which is used for the actual conversion.

Parameters

Name Type Description
$xslt string  

Redefinition of

Method Description
ezcDocumentConverter::__construct() Construct new document

Redefined in descendants as

Method Description
ezcDocumentXhtmlToDocbookConverter::__construct() Construct converter
ezcDocumentEzp3ToEzp4Converter::__construct() Construct new document

convert

Convert documents between two formats
Convert documents of the given type to the requested type.

Parameters

Name Type Description
$doc ezcDocumentXmlBase  

Redefinition of

Method Description
ezcDocumentConverter::convert() Convert documents between two formats

Redefined in descendants as

Method Description
ezcDocumentXhtmlToDocbookConverter::convert() Convert documents between two formats
ezcDocumentEzp3ToEzp4Converter::convert() Convert documents between two formats

Last updated: Wed, 18 Jun 2008