Be sure your post includes:
I'm using SmartGWT 2.4 with IE 7.
I'm having a problem with the selectString method of the XMLTools class.
The following statement returns a "1", which is what I expect:
However, the next statement returns null:
From the javadocs, selectString will return the first occurrence if there is more than one matching node.
Any thougths?
I'm using SmartGWT 2.4 with IE 7.
I'm having a problem with the selectString method of the XMLTools class.
The following statement returns a "1", which is what I expect:
Code:
XMLTools.selectString("<accountlist><account><acct_id>1</acct_id></account></accountlist>", "acct_id")
Code:
XMLTools.selectString("<accountlist><account><acct_id>1</acct_id></account><account><acct_id>2</acct_id></account></accountlist>", "acct_id")
Any thougths?
Comment