TXmlEngTextNode Class Reference

Link against: xmlengineDOM.lib


#include <
xmlengtext.h>

Inherits TXmlEngCharacterData.

Inherited by TXmlEngCDATASection.


Detailed Description

The TXmlEngTextNode interface inherits from
TXmlEngCharacterData and represents the textual content (termed "character data" in XML) of an Element or TXmlEngAttr.

If there is no markup inside an element's content, the text is contained in a single object of the TXmlEngTextNode interface that is the only child of the element. If there is markup, it is parsed into the information items (elements, comments, etc.) and TXmlEngTextNode nodes that form the list of children of the element.

When a document is first made available via the DOM, there is only one TXmlEngTextNode node for each block of text. Users may create adjacent TXmlEngTextNode nodes that represent the contents of a given element without any intervening markup, but should be aware that there is no way to represent the separations between these nodes in XML or HTML, so they will not (in general) persist between DOM editing sessions.

No lexical check is done on the content of a TXmlEngTextNode node and, depending on its position in the document, some characters must be escaped during serialization using character references; e.g. the characters "<&" if the textual content is part of an element or of an attribute, the character sequence "]]>" when part of an element, the quotation mark character " or the apostrophe character ' when part of an attribute.

DOM Level 3 spec:

http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#ID-1312295772

Dll XmlEngineDOM.lib
Since:
S60 v3.1

Public Member Functions

 TXmlEngTextNode ()
 Default constructor.
IMPORT_C TBool IsElementContentWhitespace () const
 Check if element content is whitespace.

Protected Member Functions

 TXmlEngTextNode (void *aInternal)
 Constructor.

Constructor & Destructor Documentation

TXmlEngTextNode::TXmlEngTextNode  )  [inline]
 

Default constructor.

Since:
S60 v3.1
TXmlEngTextNode::TXmlEngTextNode void aInternal  )  [inline, protected]
 

Constructor.

Since:
S60 v3.1
Parameters:
aInternal Text node pointer

Member Function Documentation

IMPORT_C TBool TXmlEngTextNode::IsElementContentWhitespace  )  const
 

Check if element content is whitespace.

Since:
S60 v3.1
Returns:
TRUE if is only whitespace

The documentation for this class was generated from the following files:

Copyright © Nokia Corporation 2001-2007
Back to top