getCurrentNodePath() (tick_24Validator Engine Only)

string getCurrentNodePath([int $flags])

Returns an XPath type path from the document root to the current node

$flags (optional)

1 - don't utilize the "id" attribute when available (using this attribute (the default) can potentially result in much shorter paths)

This function is supported only in CSE HTML Validator v12.0011 and later.