getAttValueLocation[ForStartTag]() (tick_24Validator Engine Only)

location getAttValueLocation(int or string $index)

location getAttValueLocationForStartTag(int $index)

Returns the location of an attribute value of an attribute of the tag. $index is the index of the attribute whose value to get the location of. The first attribute has an index of 1.

In v17.00 and below, generates an error if the attribute at index does not exist or if $index is 0 or less. In v17.01 and above, $index values of 0 and string indexes that don't exist will return the location of the tag name and not generate an error.

In v11.9915 and above, $index for getAttValueLocation() may also be a string that is the attribute name (case-insensitive)

getAttValueLocationForStartTag() is like getAttValueLocation() but can also be used in an end tag program to get the location of an attribute value of the corresponding start tag, specified by the attribute index $index; may require that runProgram(21) be used in the start tag name program (New v11.0112)