SelectNodes
-
Hi.. XML Example: Based on the above XML, I have this Jscript: var myVar = "a"; node.selectNodes("*/"+myVar).length //this will return '4' Question: How to select nodes which is not equal to 'a' in a DOMXML? Hope someone out there can answer my question.
-
Hi.. XML Example: Based on the above XML, I have this Jscript: var myVar = "a"; node.selectNodes("*/"+myVar).length //this will return '4' Question: How to select nodes which is not equal to 'a' in a DOMXML? Hope someone out there can answer my question.
-
Hi.. XML Example: Based on the above XML, I have this Jscript: var myVar = "a"; node.selectNodes("*/"+myVar).length //this will return '4' Question: How to select nodes which is not equal to 'a' in a DOMXML? Hope someone out there can answer my question.
node.selectNodes("*/*[name() != '" + myVar + "']").length
"When the only tool you have is a hammer, a sore thumb you will have."