Functions | |
int | mdlXSL_create (XslStylesheetRef *pStylesheetRef) |
Creates an XML Transform. More... | |
int | mdlXSL_createWithDOM (XslStylesheetRef *pStylesheetRef, XmlDomRef *sourceDomRef, XmlDomRef *styleDomRef) |
Creates an XML Transform. More... | |
int | mdlXSL_createWithFiles (XslStylesheetRef *pStylesheetRef, WChar const *pSourceFilename, WChar const *pStylesheetFilename) |
Creates an XML Transform. More... | |
int | mdlXSL_free (XslStylesheetRef stylesheetRef) |
Frees an XML Transform. More... | |
int | mdlXSL_getSourceDom (XmlDomRef *pSourceDomRef, XslStylesheetRef stylesheetRef) |
Returns the source DOM for the given XML Transform Class. More... | |
int | mdlXSL_setSourceDom (XslStylesheetRef stylesheetRef, XmlDomRef sourceDomRef) |
Sets the Source XML Dom for the given XML Transform Class. More... | |
int | mdlXSL_setSourceFilename (XslStylesheetRef stylesheetRef, WChar const *sourceFilenameP) |
Sets the source filename for the given XML Transform Class. More... | |
int | mdlXSL_getSourceFilename (WChar *sourceFilenameP, long maxFilenameLength, XslStylesheetRef stylesheetRef) |
Gets the source filename for the given XML Transform Class. More... | |
int | mdlXSL_getStylesheetDom (XmlDomRef *pStylesheetDomRef, XslStylesheetRef stylesheetRef) |
Returns the stylesheet DOM for the given XML Transform Class. More... | |
int | mdlXSL_setStylesheetDom (XslStylesheetRef stylesheetRef, XmlDomRef stylesheetDomRef) |
Sets the Stylesheet XML Dom for the given XML Transform Class. More... | |
int | mdlXSL_setStylesheetFilename (XslStylesheetRef stylesheetRef, WChar const *stylesheetFilenameP) |
Sets the stylesheet filename for the given XML Transform Class Returns the stylesheet DOM for the given XML Transform Class. More... | |
int | mdlXSL_getStylesheetFilename (WChar *stylesheetFilenameP, long maxFilenameLength, XslStylesheetRef stylesheetRef) |
Gets the stylesheet filename for the given XML Transform Class. More... | |
int | mdlXSL_getOutputMethodType (XslStylesheetRef stylesheetRef) |
Gets the output method for the given XML Transform Class. More... | |
int | mdlXSL_setOutputMethodType (XslStylesheetRef stylesheetRef, int outputMethodType) |
Sets the output method for the given XML Transform Class. More... | |
int | mdlXSL_addParameter (XslStylesheetRef stylesheetRef, WChar const *pParameterName, WChar const *pParameterValue) |
Adds a parameter and its value to given XML Transform Class. More... | |
int | mdlXSL_resetTransform (XslStylesheetRef stylesheetRef) |
Resets a XSLT Transform for the given XML Transform Class. More... | |
int | mdlXSL_transformToDom (XmlDomRef *pOutDomRef, XslStylesheetRef styleSheetRef) |
Transforms the given XML Transform Class and returns the results as an XML DOM. More... | |
int | mdlXSL_transformToTextFile (XslStylesheetRef styleSheetRef, WChar const *pFileSpec, bool bOverwrite) |
Transforms the given XML Transform Class and saves the results to the give file. More... | |
int | mdlXSL_transformToXmlFile (XslStylesheetRef styleSheetRef, int fileSpecType, WChar const *pFileSpec, WChar const *pStorageSpec, WChar const *pStreamSpec, WChar const *pEncoding, bool bCompress, bool bOverwrite, bool bFormat) |
Transforms the given Style Sheet Class to given file spec. More... | |
int | mdlXSL_getTransformString (XslStylesheetRef styleSheetRef, WCharP pOutputString) |
Gets the previously transformed string. More... | |
long | mdlXSL_transformToString (XslStylesheetRef styleSheetRef) |
Transforms the given Style Sheet Class to a string. More... | |
int | mdlXSL_getTransformError (XslStylesheetRef styleSheetRef) |
Gets the last Transform Error. More... | |
int mdlXSL_addParameter | ( | XslStylesheetRef | stylesheetRef, |
WChar const * | pParameterName, | ||
WChar const * | pParameterValue | ||
) |
Adds a parameter and its value to given XML Transform Class.
[in] | stylesheetRef | Reference to XML Transform class |
[in] | pParameterName | Name of parameter to set |
[in] | pParameterValue | Value of parameter to set |
int mdlXSL_create | ( | XslStylesheetRef * | pStylesheetRef | ) |
Creates an XML Transform.
[out] | pStylesheetRef | Newly Created XML Transform class |
int mdlXSL_createWithDOM | ( | XslStylesheetRef * | pStylesheetRef, |
XmlDomRef * | sourceDomRef, | ||
XmlDomRef * | styleDomRef | ||
) |
Creates an XML Transform.
[out] | pStylesheetRef | Newly Created XML Transform class |
[in] | sourceDomRef | Reference to source DOM class |
[in] | styleDomRef | Reference to style DOM class |
int mdlXSL_createWithFiles | ( | XslStylesheetRef * | pStylesheetRef, |
WChar const * | pSourceFilename, | ||
WChar const * | pStylesheetFilename | ||
) |
Creates an XML Transform.
[out] | pStylesheetRef | Newly Created XML Transform class |
[in] | pSourceFilename | source filename |
[in] | pStylesheetFilename | stylesheet filenmame |
int mdlXSL_free | ( | XslStylesheetRef | stylesheetRef | ) |
Frees an XML Transform.
[in] | stylesheetRef | Reference to XML Transform class |
int mdlXSL_getOutputMethodType | ( | XslStylesheetRef | stylesheetRef | ) |
Gets the output method for the given XML Transform Class.
[in] | stylesheetRef | Reference to XML Transform class |
int mdlXSL_getSourceDom | ( | XmlDomRef * | pSourceDomRef, |
XslStylesheetRef | stylesheetRef | ||
) |
Returns the source DOM for the given XML Transform Class.
[out] | pSourceDomRef | Returned Source XML DOM |
[in] | stylesheetRef | Reference to XML Transform class |
int mdlXSL_getSourceFilename | ( | WChar * | sourceFilenameP, |
long | maxFilenameLength, | ||
XslStylesheetRef | stylesheetRef | ||
) |
Gets the source filename for the given XML Transform Class.
[in,out] | sourceFilenameP | Returned source filename |
[in] | maxFilenameLength | Max length of filename to return |
[in] | stylesheetRef | Reference to XML Transform class |
int mdlXSL_getStylesheetDom | ( | XmlDomRef * | pStylesheetDomRef, |
XslStylesheetRef | stylesheetRef | ||
) |
Returns the stylesheet DOM for the given XML Transform Class.
[out] | pStylesheetDomRef | Returned Source XML DOM |
[in] | stylesheetRef | Reference to XML Transform class |
int mdlXSL_getStylesheetFilename | ( | WChar * | stylesheetFilenameP, |
long | maxFilenameLength, | ||
XslStylesheetRef | stylesheetRef | ||
) |
Gets the stylesheet filename for the given XML Transform Class.
[out] | stylesheetFilenameP | Returned stylesheet filename |
[in] | maxFilenameLength | Max length of filename to return |
[in] | stylesheetRef | Reference to XML Transform class |
int mdlXSL_getTransformError | ( | XslStylesheetRef | styleSheetRef | ) |
Gets the last Transform Error.
[in] | styleSheetRef | Reference to XML Style Sheet Class |
int mdlXSL_getTransformString | ( | XslStylesheetRef | styleSheetRef, |
WCharP | pOutputString | ||
) |
Gets the previously transformed string.
[in] | styleSheetRef | Reference to XML Tranform Class |
[in,out] | pOutputString | Buffer to get the previously transformed string |
int mdlXSL_resetTransform | ( | XslStylesheetRef | stylesheetRef | ) |
Resets a XSLT Transform for the given XML Transform Class.
[in] | stylesheetRef | Reference to XML Transform class |
int mdlXSL_setOutputMethodType | ( | XslStylesheetRef | stylesheetRef, |
int | outputMethodType | ||
) |
Sets the output method for the given XML Transform Class.
[in] | stylesheetRef | Reference to XML Transform class |
[in] | outputMethodType | XSLOUTPUT_NOTSPECIFIED, XSLOUTPUT_XML, XSLOUTPUT_HTML, XSLOUTPUT_TEXT |
int mdlXSL_setSourceDom | ( | XslStylesheetRef | stylesheetRef, |
XmlDomRef | sourceDomRef | ||
) |
Sets the Source XML Dom for the given XML Transform Class.
[in] | stylesheetRef | Reference to XML Transform class |
[in] | sourceDomRef | Reference to DOM class |
int mdlXSL_setSourceFilename | ( | XslStylesheetRef | stylesheetRef, |
WChar const * | sourceFilenameP | ||
) |
Sets the source filename for the given XML Transform Class.
[in] | stylesheetRef | Reference to XML Transform class |
[in] | sourceFilenameP | source filename to set |
int mdlXSL_setStylesheetDom | ( | XslStylesheetRef | stylesheetRef, |
XmlDomRef | stylesheetDomRef | ||
) |
Sets the Stylesheet XML Dom for the given XML Transform Class.
[in] | stylesheetRef | Reference to XML Transform class |
[in] | stylesheetDomRef | Reference to DOM class |
int mdlXSL_setStylesheetFilename | ( | XslStylesheetRef | stylesheetRef, |
WChar const * | stylesheetFilenameP | ||
) |
Sets the stylesheet filename for the given XML Transform Class Returns the stylesheet DOM for the given XML Transform Class.
[in] | stylesheetRef | Reference to XML Transform class |
[in] | stylesheetFilenameP | stylesheet filename to set |
int mdlXSL_transformToDom | ( | XmlDomRef * | pOutDomRef, |
XslStylesheetRef | styleSheetRef | ||
) |
Transforms the given XML Transform Class and returns the results as an XML DOM.
[in] | pOutDomRef | Returned XML DOM after Tranformation |
[in] | styleSheetRef | Reference to XML Tranform Class |
long mdlXSL_transformToString | ( | XslStylesheetRef | styleSheetRef | ) |
Transforms the given Style Sheet Class to a string.
[in] | styleSheetRef | Reference to XML Tranform Class |
int mdlXSL_transformToTextFile | ( | XslStylesheetRef | styleSheetRef, |
WChar const * | pFileSpec, | ||
bool | bOverwrite | ||
) |
Transforms the given XML Transform Class and saves the results to the give file.
[in] | styleSheetRef | Reference to XML Tranform Class |
[in] | pFileSpec | Full file spec save transformation to |
[in] | bOverwrite | true to overwrite existing file, false to error when file already exists |
int mdlXSL_transformToXmlFile | ( | XslStylesheetRef | styleSheetRef, |
int | fileSpecType, | ||
WChar const * | pFileSpec, | ||
WChar const * | pStorageSpec, | ||
WChar const * | pStreamSpec, | ||
WChar const * | pEncoding, | ||
bool | bCompress, | ||
bool | bOverwrite, | ||
bool | bFormat | ||
) |
Transforms the given Style Sheet Class to given file spec.
[in] | styleSheetRef | Reference to XML Tranform Class |
[in] | fileSpecType | must be FILESPEC_LOCAL |
[in] | pFileSpec | Full file spec to generate |
[in] | pStorageSpec | Storage (like directory) |
[in] | pStreamSpec | Stream (like file) |
[in] | pEncoding | Encoding |
[in] | bCompress | Reserved for future use, zip after saving? |
[in] | bOverwrite | true to overwrite existing file, false to fail if file already exists |
[in] | bFormat | Pretty Print (add indentation newlines) as saving |