axl main logo
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages

Item types that can hold an xml node (axlNode).

AxlItemType is used to notify the type for a particular item (axlItem) that is stored as a child on a particular axlNode.

This is mainly used inside the MIXED API, which is the way that Axl exposes the content of a xml node that is expected to contain more nodes mixed with more content.

Each type represents a particular basic unit that could be found as a child item inside an xml node.

Enumerator
ITEM_NODE 

The axlItem is encapsulating another item node.

Calling to axl_item_get_data will return a reference to an axlNode.

ITEM_CONTENT 

The axlItem is encapsulating an node content.

Calling to the convenience function axl_item_get_content to get the content and the size that is stored in the axlItem with this type.

ITEM_PI 

The axlItem is encapsulating an application process instruction.

Calling to axl_item_get_data will return a reference to a axlPI.

ITEM_COMMENT 

The axlItem is encapsulating an xml comment.

XML comments inside Axl are handled xml node content. The comment that is returned from the function has the initial '' elements stripped from its body.

You must use the convenience function axl_item_get_content to get the comment content and the size that is stored on the axlItem.

ITEM_REF 

The axlItem is encapsulating an xml entity reference that wasn't resolved yet.

Not implemented yet.

ITEM_CDATA 

The axlItem is encapsulating an xml content that was enclosed using the <![CDATA[]]> construction.

This child item works the same as ITEM_CONTENT but, adding the CDATA semantic and the fact that the content wasn't parsed by the Axl XML engine.

You must use the convenience function axl_item_get_content to get the CDATA content and the size that is stored on the axlItem.