|
Unicorn XML Toolkit Version 1.50.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |
class CXsltStylesheet: public CInterface { public: CXsltStylesheet( CToolkitBase *pToolkitBase, const WCHAR *pszUri); CXsltStylesheet( CToolkitBase *pToolkitBase, const WCHAR *pszUri, Dom::INode *pNode); CXsltStylesheet( CToolkitBase *pToolkitBase, const WCHAR *pszUri, Sax::CXmlReader *pReader); ~CXsltStylesheet(); public: Xslt::CStylesheetHandler *GetStylesheetHandler(); }; typedef XInterface<CXsltStylesheet> XXsltStylesheet;
The precompiled XSLT stylesheet.
Objects of this class may be used to precompile and cache
in memory frequently used XSLT stylesheets, so they will become
instantly available for XSLT processors
(
CXsltProcessor
).
The stylesheet can be constructed from one of three sources: from the XML document located via the specified URI, from the DOM/XDM sub-tree rooted at the specified node, or from the SAX content stream provided by the specfied SAX XML reader.
See
Uri
for details of the URI support.
CToolkitBase, Sax::CDtdHandler, Sax::CEntityResolver, Sax::CContentHandler, Sax::CErrorHandler, Sax::CInputSource, Sax::CXmlReader, Dom::INode
Constructor/Destructor Summary | |
CXsltStylesheet
(CToolkitBase *pToolkitBase, const WCHAR *pszUri);
����������Constructs the XSLT stylesheet from an XML document located via URI. |
|
CXsltStylesheet
(CToolkitBase *pToolkitBase, const WCHAR *pszUri, Dom::INode *pNode);
����������Constructs the XSLT stylesheet from an XML fragment rooted at the specified DOM/XDM node. |
|
CXsltStylesheet
(CToolkitBase *pToolkitBase, const WCHAR *pszUri, Sax::CXmlReader *pReader);
����������Constructs the XSLT stylesheet from a content stream provided by the specified SAX XML reader. |
|
~CXsltStylesheet
();
����������Destroys the XSLT stylesheet |
Function Summary | |
Xslt::CStylesheetHandler�*
|
GetStylesheetHandler
();
����������Returns the internal representation of XSLT stylesheet encapsulated in this object. |
Constructor/Destructor Detail |
CXsltStylesheet( CToolkitBase *pToolkitBase, const WCHAR *pszUri);
Constructs the XSLT stylesheet from an XML document located via URI.
pToolkitBase
- the master toolkit basepszUri
- the source URICXsltStylesheet( CToolkitBase *pToolkitBase, const WCHAR *pszUri, Dom::INode *pNode);
Constructs the XSLT stylesheet from an XML fragment rooted at the specified DOM/XDM node.
The source URI passed to the constructor is used solely for resolving relative URI encountered in during the stylesheet parsing; this parameter may be set to the empty string if the stylesheet contains no relative URI, which need to be resolved.
The node passed to the constructor may be of DOM or XDM model; it must be either a document node or an element node corresponding to the stylesheet root element.
pToolkitBase
- the master toolkit basepszUri
- the source URIpNode
- the root of the sub-tree representing
the stylesheet sourceCXsltStylesheet( CToolkitBase *pToolkitBase, const WCHAR *pszUri, Sax::CXmlReader *pReader);
Constructs the XSLT stylesheet from a content stream provided by the specified SAX XML reader.
The source URI passed to the constructor is used solely for resolving relative URI encountered in during the stylesheet parsing; this parameter may be set to the empty string if the stylesheet contains no relative URI, which need to be resolved.
pToolkitBase
- the master toolkit basepszUri
- the source URIpReader
- the SAX XML reader providing
the SAX content stream representing the stylesheet source~CXsltStylesheet();
Destroys the XSLT stylesheet
Function Detail |
Xslt::CStylesheetHandler *GetStylesheetHandler();
Returns the internal representation of XSLT stylesheet encapsulated in this object.
This method is intended mainly for the toolkit internal use.
|
Unicorn XML Toolkit Version 1.50.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |