|
DOMNode::getLineNoGet line number for a node Description
public int DOMNode::getLineNo()
Gets line number for where the node was defined at parse time. ParametersThis function has no parameters. Return Values
Returns the line number where the node was defined at parse time.
If the node was created manually, the return value will be Examples
Example #1 DOMNode::getLineNo example
The above example will output: The <node> tag is defined in line 3 |