Unicorn XML Toolkit
Version 1.00.00

Namespace Xslt
Class CIdHandler

class CIdHandler: public CInterface {
public:
    CIdHandler();
    virtual ~CIdHandler();
public:
    virtual bool Evaluate(const XNode &pNode, CString &strId) = 0;
    };

The abstract interface for handling XML element identifiers.

Since:
1.00.00
Version:
1.00.00
Author:
Alexey Gokhberg
See Also:
Dom::INode
Constructor/Destructor Summary
CIdHandler ();
����������Constructs the identifier handler.
~CIdHandler ();
����������Destroys the identifier handler.

Function Summary
bool Evaluate (const XNode &pNode, CString &strId);
����������Evaluates the element identifier for the given node.

Constructor/Destructor Detail

CIdHandler

CIdHandler();

Constructs the identifier handler.

~CIdHandler

virtual ~CIdHandler();

Destroys the identifier handler.

Function Detail

Evaluate

virtual bool Evaluate(const XNode &pNode, CString &strId) = 0;

Evaluates the element identifier for the given node.

Parameters:
pNode - the node
strId - on return, the value of the element identifier if the given node is an element and the identifier is available; unspecified otherwise
Returns:
true if the given node is an element and the identifier is available; false otherwise

Unicorn XML Toolkit
Version 1.00.00


This document was created using Unicorn DOC++.

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