Loading TOC...

Comment.target

Comment.target as String

Summary

This is inherited from the CharacterData object.

The target of an XML processing instruction.

Usage Notes

This method is only defined on processing instruction nodes.

Example

var node = cts.doc("example.xml").root.firstChild;
if (node.nodeType==7)
  node.target

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

Comments