.Conversions

# Sablotron Extensions API Reference

Conversions | .General
#### Description The following function argument conversions are performed: * An XPath string object is mapped to an ECMAScript string value. * An XPath number object is mapped to an ECMAScript number value. * An XPath boolean object is mapped to an ECMAScript boolean value. * An XPath node-set object is mapped to the ECMAScript binding for the DOM `NodeList`. * An XSLT external object is mapped to the ECMAScript object that it wraps. The following conversions are performed on return values: * An ECMAScript string value or String object is mapped to an XPath string object. * An ECMAScript number value or Number object is mapped to an XPath number object. * An ECMAScript boolean value or Boolean object is mapped to an XPath boolean object. * An ECMAScript object that is an instance of either `Document`, `Node`, `NodeList`, `Attr`, `Element` or `CharacterData` are mapped to an XPath node-set. * The ECMAScript null value is mapped to an XSLT external object. * The ECMAScript undefined value is mapped to an empty node-set. * Any other ECMAScript object is mapped to an XSLT external object
#### See Also
Groups | [ .General ]
Entries | [ Attr | CharacterData | Document | Element | Node | NodeList ]

© 2001-2002 Ginger Alliance
revision 02-08-05
This page was generated by APIDOC