XML Helper

The XML Helper file contains handlers that assist in working with XML data.

Loading this Helper

This helper is loaded using the following code:

rigLoadHelper "xml"

The following handlers are available:

rigXmlConvert("string")

Takes a string as input and converts the following reserved XML characters to entities:

Ampersands: &
Less than and greater than characters: < >
Single and double quotes: '  "
Dashes: -

This function ignores ampersands if they are part of existing character entities. Example:

put rigXmlConvert(tString) into tString