Unicorn XML Toolkit
Version 1.00.00

Namespace Xslt
Class CStylesheetHandler

class CStylesheetHandler: public CInterface {
public:
    CStylesheetHandler();
    virtual ~CStylesheetHandler();
public:
    virtual void Transform(
        const XDocument &pDocument,
        const Sax::XXmlStream &pStream,
        const CString &strUri,
        const XXsltImplementation &pXsltImplementation,
        const XOutputHandler &pOutputHandler,
        const CExternalParamList &externalParamList) = 0;
    };

The abstract interface to XSLT stylesheets.

Implementation of the interface defined by this class is supplied by the toolkit; toolkit users do not need to implement this interface.

Since:
1.00.00
Version:
1.00.00
Author:
Alexey Gokhberg
See Also:
CExternalParamList, CXsltImplementation, COutputHandler, Sax::CXmlStream
Constructor/Destructor Summary
CStylesheetHandler ();
����������Constructs the stylesheet.
~CStylesheetHandler ();
����������Destroys the stylesheet.

Function Summary
void Transform (const XDocument &pDocument, const Sax::XXmlStream &pStream, const CString &strUri, const XXsltImplementation &pXsltImplementation, const XOutputHandler &pOutputHandler, const CExternalParamList &externalParamList);
����������Transforms the given document using this stylesheet.

Constructor/Destructor Detail

CStylesheetHandler

CStylesheetHandler();

Constructs the stylesheet.

~CStylesheetHandler

virtual ~CStylesheetHandler();

Destroys the stylesheet.

Function Detail

Transform

virtual void Transform(
    const XDocument &pDocument,
    const Sax::XXmlStream &pStream,
    const CString &strUri,
    const XXsltImplementation &pXsltImplementation,
    const XOutputHandler &pOutputHandler,
    const CExternalParamList &externalParamList) = 0;

Transforms the given document using this stylesheet.

There are three mutually exclusive ways to specify the source document: using the XDM document object, using XML stream, or using document URI.

Parameters:
pDocument - the source document, or NULL if not specified
pStream - the XML stream, or NULL if not specified
strUri - the document URI, or the empty string if not specified
pXsltImplementation - the XSLT implementation
pOutputHandler - the output handler
externalParamList - the list of values of external parameters

Unicorn XML Toolkit
Version 1.00.00


This document was created using Unicorn DOC++.

Copyright 1999-2001 Unicorn Enterprises SA.
All Rights Reserved.