Working With Nodes in PHP
Contents
[
Hide
]
Aspose.Words - Working With Nodes
To get Node Type using Aspose.Words Java Apis in Php, simply invoke getNodeType method.
Php Code
// Create a new document.
$doc = new Java("com.aspose.words.Document");
$nodeType = $doc->getFirstSection()->getBody()->getNodeType();
$node = new Java("com.aspose.words.Node");
echo "NodeType: " . $node->nodeTypeToString($nodeType);
Download Running Code
Download Working With Nodes (Aspose.Words) from any of the below mentioned social coding sites: