Friday, January 16, 2009

Getting data directly from the xml object

You must select a single node to be able to do this.

var xmlItems = LsdbCommand("LSDB.sp-get-contractlistitem", {"UIDEXECONTRLISTITEM":PageParams1.Scenario[i]}).selectSingleNode("qrySel");

Then you can get the data using the getAttribute function by passing the column name.

xmlItems.getAttribute("UIDCONTRACT")

1 comment:

  1. Hi Steve

    This is extremely helpful! Thanks for taking the time to post these snippets. If possible could you contact me please?

    ReplyDelete