Loading TOC...

Text.length

Text.length as Number

Summary

This is inherited from the CharacterData object.

The length of the character data (codepoints).

Example

cts.doc("example.xml").root.firstChild.length

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.