Node.nodeKind as string
Return a string indicating the type of the node.
cts.doc('/anyDocument.json').nodeKind; // returns 'document' because it was applied to a document node
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.