L
Lisa
The following code parses the amount list correctly, but I
need to find a similar function that does the same with
text.
var CatList = XDocument.DOM.selectNodes
("//my:group4/myay/my:Expense/my:Category");
var Amounts = XDocument.DOM.selectNodes
("//my:group4/myay/my:Expense/my:Amount");
for (var i=0;i<CatList.length;i++)
{
var amtVal = parseFloat(Amounts(i).text);
var Cat = parse(CatList(i).text);
}
The "parse" command returns an error "Object expected" at
the line:
var Cat = parse(CatList(i).text);
Any suggestions would be helpful.
Thanks.
need to find a similar function that does the same with
text.
var CatList = XDocument.DOM.selectNodes
("//my:group4/myay/my:Expense/my:Category");
var Amounts = XDocument.DOM.selectNodes
("//my:group4/myay/my:Expense/my:Amount");
for (var i=0;i<CatList.length;i++)
{
var amtVal = parseFloat(Amounts(i).text);
var Cat = parse(CatList(i).text);
}
The "parse" command returns an error "Object expected" at
the line:
var Cat = parse(CatList(i).text);
Any suggestions would be helpful.
Thanks.