add_mapping


Description:

public int add_mapping (string tag, MappingStyle style)

Create a MAPPING node and attach it to the document.

The style argument may be ignored by the emitter.

Parameters:

tag

The sequence tag.

style

The sequence style.

document

A document object.

Returns:

the node id or 0 on error.