Document: ezcDocumentEzXmlToDocbookConverter
[ ]
[ Conversion ]
[ ]
[ ]
[ ]
[ ]
Class: ezcDocumentEzXmlToDocbookConverter
|
Converter for docbook to XDocbook with a PHP callback based mechanism, for fast and easy PHP based extensible transformations. [
source]
This converter does not support the full docbook standard, but only a subset commonly used in the document component. If you need to transform documents using the full docbook you might prefer to use the ezcDocumentEzXmlToDocbookXsltConverter with the default stylesheet from Welsh.
Parents
ezcDocumentConverter
|
--ezcDocumentElementVisitorConverter
|
--ezcDocumentEzXmlToDocbookConverter
Member Variables
|
protected string |
$defaultNamespace
= 'ezxml'
Deafult document namespace
If no namespace has been explicitely declared in the source document assume this as the defalt namespace. |
Inherited Member Variables
From
ezcDocumentElementVisitorConverter:
From
ezcDocumentConverter:
Method Summary
Inherited Methods
From
ezcDocumentElementVisitorConverter :
From
ezcDocumentConverter :
Methods
__construct
Construct converter
Construct converter from XSLT file, which is used for the actual
Parameters
Redefinition of
createDocument
Create document from structure
Build a ezcDocumentDocument object from the structure created during the visiting process.
Parameters
| Name |
Type |
Description |
$content |
mixed |
|
Redefinition of
initializeDocument
mixed initializeDocument(
)
Initialize destination document
Initialize the structure which the destination document could be build with. This may be an initial DOMDocument with some default elements, or a string, or something else.
Redefinition of
visitText
mixed visitText(
$node, mixed
$root )
Visit text node.
Visit a text node in the source document and transform it to the destination result
Parameters
| Name |
Type |
Description |
$node |
DOMText |
|
$root |
mixed |
|
Redefinition of
Last updated: Mon, 30 Mar 2009