Xerces C++ SAX 解析事件总结 (二)

2014-11-24 10:45:28 · 作者: · 浏览: 1
of the DTD declarations.

收到通知的DTD声明。

virtual void endEntity (const XMLCh* const name);


Receive notification of the end of an entity.

接收一个实体的结束的通知。

virtual void startCDATA ();


Receive notification of the start of a CDATA section.

接收通知的CDATA节开始。

virtual void startDTD

(

const XMLCh* const name

, const XMLCh* const publicId

, const XMLCh* const systemId

);


Receive notification of the start of the DTD declarations.

收到通知的DTD声明的开始。

virtual void startEntity (const XMLCh* const name);


Receive notification of the start of an entity.

接收通知开始一个实体。

virtual void elementDecl

(

const XMLCh* const name

, const XMLCh* const model

);


Report an element type declaration.

报告一个元素类型声明。

virtual void attributeDecl

(

const XMLCh* const eName

, const XMLCh* const aName

, const XMLCh* const type

, const XMLCh* const mode

, const XMLCh* const value

);


Report an attribute type declaration.

报告属性类型声明。

virtual void internalEntityDecl

(

const XMLCh* const name

, const XMLCh* const value

);


Report an internal entity declaration.

报告内部实体声明。

virtual void externalEntityDecl

(

const XMLCh* const name

, const XMLCh* const publicId

, const XMLCh* const systemId

);