PhoenixmlDb.Core

XdmProcessingInstruction

Represents an XML processing instruction (<?target data?>) in the XDM tree.

#XdmProcessingInstruction

Namespace: PhoenixmlDb.Xdm.Nodes

Represents an XML processing instruction (

<?target data?>

) in the XDM tree.

Processing instructions provide a mechanism to pass information to applications. The XdmProcessingInstruction.Target identifies the application, and the XdmProcessingInstruction.Value contains the instruction data. Common examples include <?xml-stylesheet ... ?>.

PI nodes have a XdmNode.NodeName with no namespace — just the target as the local name. Their XdmNode.TypedValue is xs:string, per the XDM specification.

#Properties

Name Description
Target The target (name) of the processing instruction, identifying the intended application.
Value The content (data) of the processing instruction, following the target and whitespace.