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

Back to Reference

xmlLocData Variable

Represents the current CUSTOM_* element within the current LOC element.


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

The xmlLocData object is equivalent to the object returned by xmlChildOf(xmlCurLoc, "CUSTOM_*", 0) in TQS 2.5 and later.


    <BAR>Inside Bar</BAR>
fooEl = xmlChildOf(xmlLocData, "FOO", 0);
barEl = xmlChildOf(fooEl, "BAR", 0);
spanBar.innerText = barEl.text;

The HTML element spanBar will display Inside Bar.

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