3.2.0

AW.XML.Table getValue getText in RC1

I am getting a "method not supported" when using either getValue or getText to access a column/row value in an AW.XML.Table object:

itsSessionTable.setURL("test2.xml"); // Simple companies from the exmpl.
itsSessionTable.setRows("//companies/company");
itsSessionTable.setColumns(["ticker"]);

Then in the response handler:

itsSessionTable.response = function(data){
// Handle the response
defaultResponse.call(this, data);

// Set the IP
alert(data.xml); // XML displayed
alert(itsSessionTable.getValue(0,0)); // JavaScript ERROR.
}

The same happens for getText.

Karl Thoroddsen
February 3,
It is now called getNode.

I totally missed the source directory where the effective documentation is to be found.

Thanks
Karl Thoroddsen
February 3,
Addendum:

so getNode(0,0).text does the trick nicely.

Karl Thoroddsen
February 3,

This topic is archived.

See also:


Back to support forum