:: Forum >>
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
Friday, February 3, 2006
It is now called getNode.
I totally missed the source directory where the effective documentation is to be found.
Thanks
Karl Thoroddsen
Friday, February 3, 2006
Addendum:
so getNode(0,0).text does the trick nicely.
Karl Thoroddsen
Friday, February 3, 2006
This topic is archived.
Back to support forum
Forum search