Unicorn XML Toolkit
Version 1.00.00

Namespace Xpath
Class CNamespaceDeclarationSet

class CNamespaceDeclarationSet: public CInterface {
public:
    CNamespaceDeclarationSet();
    virtual ~CNamespaceDeclarationSet();
public:
    virtual bool FindNs(
        const CString &strPrefix,
        CString &strNamespaceUri) = 0;
    };

The abstract interface to XPath sets of namespace declarations.

Since:
1.00.00
Version:
1.00.00
Author:
Alexey Gokhberg
Constructor/Destructor Summary
CNamespaceDeclarationSet ();
����������Constructs the namespace declaration set.
~CNamespaceDeclarationSet ();
����������Destroys the namespace declaration set.

Function Summary
bool FindNs (const CString &strPrefix, CString &strNamespaceUri);
����������Looks up the namespace declaration with the given prefix in this namespace declaration set.

Constructor/Destructor Detail

CNamespaceDeclarationSet

CNamespaceDeclarationSet();

Constructs the namespace declaration set.

~CNamespaceDeclarationSet

virtual ~CNamespaceDeclarationSet();

Destroys the namespace declaration set.

Function Detail

FindNs

virtual bool FindNs(
    const CString &strPrefix,
    CString &strNamespaceUri) = 0;

Looks up the namespace declaration with the given prefix in this namespace declaration set.

Parameters:
strPrefix - the prefix to look up
strNamespaceUri - on return, the namespace URI bound to the given prefix in this namespace declaration set; unspecified if none was found
Returns:
true if the given prefix is found in this namespace declaration set; 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.