Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

object-type


exsl:object-type() returns a string that indicates the type of the specified object.

Note: Most XSLT object types can be coerced into each other safely; however, certain coercsions to raise error conditions. In particular, treating something that's not a node-set as a node-set will do so. This function lets authors of named templates and extension functions easily provide flexibility in parameter values.

Syntax

exsl:object-type(object)

Arguments

object
The object whose type is to be returned.

Returns

The object's type, which will be one of the following:

  • string
  • number
  • boolean
  • node-set
  • RTF
  • external

Defined

EXSLT - EXSL:OBJECT-TYPE

Gecko support

Supported in Gecko 1.9 and later.

Document Tags and Contributors

 Contributors to this page: Sheppy, zorkzero, Potappo, Mgjbot, Fredchat
 Last updated by: Sheppy,