class XSLT implements RendererGenerator

Properties

TemplateNormalizer $normalizer

Methods

__construct()

Constructor

getRenderer(Rendering $rendering)

Generate and return a renderer

string
getXSL(Rendering $rendering)

Generate an XSL stylesheet based on given rendering configuration

string[]
getPrefixes(array $tagNames)

Extract and return the sorted list of prefixes used in given list of tag names

string
writeTag(string $tagName, array $attributes, string $content)

Serialize given tag to XML

Details

at line 26
__construct()

Constructor

at line 39
Renderer getRenderer(Rendering $rendering)

Generate and return a renderer

Parameters

Rendering $rendering

Rendering configuration

Return Value

Renderer

Instance of Renderer

at line 50
string getXSL(Rendering $rendering)

Generate an XSL stylesheet based on given rendering configuration

Parameters

Rendering $rendering

Return Value

string

at line 111
protected string[] getPrefixes(array $tagNames)

Extract and return the sorted list of prefixes used in given list of tag names

Parameters

array $tagNames

Return Value

string[]

at line 136
protected string writeTag(string $tagName, array $attributes, string $content)

Serialize given tag to XML

Parameters

string $tagName
array $attributes
string $content

Return Value

string