TQS Home
Trivia Quiz Shell Version 2.8 Now Available!Bot Productions Home
TQS 2.0

Back to Reference

xmlCurLoc Variable

Represents the current LOC element.

Remarks

Use this variable with the TQS XML data access functions to load data for your custom location. The variable xmlLocData represents the current CUSTOM_* element within the current LOC element.

Example

<LOC ID="April" TYPE="CUSTOM_FOO">
  ...
  <CUSTOM_FOO>
    ...
  </CUSTOM_FOO>
</LOC>
spanBar.innerText = xmlAttr(xmlCurLoc, "ID", "")
  + " Custom Location";

The HTML element spanBar will display April Custom Location.

©2020 Bot Productions. All rights reserved.Last Updated: September 9, 2007