contextPath(target, depth, maxpaths)
|
|
Parameters
|
Nodetarget
The Node to which the context paths are to be calculated.
unsigned intdepth
Specifies the maximum tag nesting depth of the paths returned.
unsigned intmaxpaths
Specifies the maximum number of paths at each depth to return. If depth is 5, and maxpaths is 50, as many as 250 total paths could be returned. If more paths than maxpaths exist at a given depth, only the first maxpaths paths are returned, with no indication that more paths exist.
|
Returns
|
DOMStringList. Returns the context paths from the point specified by this Node to the target.
|