#include <init.h>
Inheritance diagram for xslt::init:
Public Member Functions | |
init (void) | |
Create a new xslt::init object. | |
virtual | ~init (void) |
Clean up the XSLT engine. | |
void | process_xincludes (bool flag) |
This function controls whether or not the XSLT engine will process XInclusions by default while parsing the stylesheet. | |
void | indent_output (bool flag) |
This member function controls whether or not the XML parser should add text nodes for indenting when generating XML text output from a node tree. | |
void | remove_whitespace (bool flag) |
This member function controls whether or not the XML parser should remove ignorable whitespace around XML elements. | |
void | substitute_entities (bool flag) |
This member function controls whether or not the XML parser should substitute entities while parsing. | |
void | load_external_subsets (bool flag) |
This member function controls whether or not the XML parser should load external (DTD) subsets while parsing. | |
void | validate_xml (bool flag) |
This member function controls whether or not the XML parser should validate every XML document that is parses with its DTD. |
For thread safety it should be instantiated one time in the main thread before any other threads use xsltwrapp. Non-threaded programs should instantiante a xslt::init class before using xsltwrapp as well, at least for consistanticy.
If you want to use any of the xslt::init member functions, do so before you start any threads or use any other part of xsltwrapp. The member functions may alter global and/or static variables. In other words, this class is not thread safe.
Since this class is derived from the xml::init it is not neccessary to use both classes. If you are going to be using xsltwrapp, you should only use this class to initilize both xmlwrapp and xsltwrapp.
|
Create a new xslt::init object. This constructor will prepare the XSLT engine parser and set some default values for the engine's global variables.
Reimplemented from xml::init. |
|
Clean up the XSLT engine. Don't let the xslt::init object go out of scope before you are done using the xsltwrapp or xmlwrapp libraries!
Reimplemented from xml::init. |
|
This member function controls whether or not the XML parser should add text nodes for indenting when generating XML text output from a node tree. The default, set in the xml::init constructor, is true.
|
|
This member function controls whether or not the XML parser should load external (DTD) subsets while parsing. This will only affect the loading of the subsets, it does not cause files to be validated. The default, set in the xml::init constructor, is true.
|
|
This function controls whether or not the XSLT engine will process XInclusions by default while parsing the stylesheet. The default, set in the xslt::init constructor, is true.
|
|
This member function controls whether or not the XML parser should remove ignorable whitespace around XML elements. The default, set in the xml::init constructor, is false.
|
|
This member function controls whether or not the XML parser should substitute entities while parsing. The default, set in the xml::init constructor, is true.
|
|
This member function controls whether or not the XML parser should validate every XML document that is parses with its DTD. The default, set in the xml::init constructor, is false.
|