
MarkLogic Server 11.0 Product Documentation
CharacterData.lengthCharacterData.length as Number
Summary
The length of the character data (codepoints).
Example
cts.doc("example.xml").root.firstChild.length
Copyright © 2025 MarkLogic Corporation. MARKLOGIC is a
registered trademark of MarkLogic Corporation.