XSLT transformer.
More...
#include <base/xml/Transformer.h>
Inherits Object.
XSLT transformer.
XSLT transformer.
- Version
- 1.0
- Examples
- testsuite/xsltprocessor.cpp.
◆ Transformer()
Transformer::Transformer |
( |
| ) |
|
|
noexcept |
Initializes XSLT processor.
◆ ~Transformer()
Transformer::~Transformer |
( |
| ) |
|
|
noexcept |
Destroys the transformer.
◆ clearParameters()
void Transformer::clearParameters |
( |
| ) |
|
|
noexcept |
◆ functionAvailable()
bool Transformer::functionAvailable |
( |
const String & |
ns, |
|
|
const String & |
name |
|
) |
| |
Returns true is the function is available.
◆ getParameter()
Returns the value of the parameter.
◆ getStylesheet()
◆ isSupported()
static bool Transformer::isSupported |
( |
| ) |
|
|
staticnoexcept |
Returns true if XSLT is supported by the runtime.
◆ save()
void Transformer::save |
( |
const String & |
filename, |
|
|
const Document & |
document |
|
) |
| |
Save the document to the specified file.
- Parameters
-
filename | The name of the file. |
document | The XML document. |
- Examples
- testsuite/xsltprocessor.cpp.
◆ setParameter()
void Transformer::setParameter |
( |
const String & |
name, |
|
|
const String & |
value |
|
) |
| |
◆ setStylesheet()
void Transformer::setStylesheet |
( |
Stylesheet |
stylesheet | ) |
|
|
noexcept |
◆ transform()
Transforms the source into the result tree.
- Parameters
-
document | The XML document to be transformed. |
- Examples
- testsuite/xsltprocessor.cpp.