getLocation()

location getLocation(int $locid, int $auxint)

Returns a location based on $locid and $auxint.

$locid - location ID

1 - OBSOLETE; do not use

2 - location of the current tag (or comment) with all attributes and values (New v4.9940)

Use 0 for $auxint for standard behavior

Use 1 for $auxint to include ending spaces (New v5.4910)

Use 2 for $auxint to only include ending spaces (New v5.4910)

3 - location of the text referred to in getValueInt(23), getValueString(13), getValueString(30), or getValueString(32); auxint should be 0 (New v5.4930)

4 - location of the last child of the current node; $auxint should be 0 (New v5.9920)

5 - location of the current CSS property if available; $auxint should be 0 (New v7.9910)

6 - location of the first character of line number $auxint (New v7.9910)

7 - location of the bad hyphens after calling checkStringEx(0,5); if not available then returns getLocation(2,1) (New v7.9920)

8 - location of the last child of the current node that is a tag; $auxint should be 0 (New v10.0032)

9 - location of the first native CDATA section start text (New v11.0043)

10 - location of the last $auxint characters of the current tag (or comment) with all attributes and values (New v11.0111)

11 - location of the first native CDATA section start text that is not commented out in a "script" or "style" element (New v11.9916)

12 - location of the first XML processing instruction, if available (New v12.00)

13 - location of the child node at index $auxint (a 1-based index) (New v12.0010)