getNodeLength

Type: Function

Deprecated!

Use XPath/XQuery to do this. Refer to the examples page for an example on how to do this.

Get the length of the node, works with characterData and elements

Refer to blueprintQuery for more information on how to import and use this function.

Arguments

  1. blueprint

    (Required)

    Type: Blueprint

    The blueprint to use for retrieving the length

  2. node

    (Required)

    Type: Node

    The node which length to compute

Returns

Type: Number

The length of the node