M
msnews.mircrosoft.com
The following line of code
var xmlNode = XDocument.DOM.documentElement.selectSingleNode("myate1");
if (xmlNode.getAttribute("xsi:nil")) xmlNode.removeAttribute("xsi:nil");
xmlNode.text = getDateString(now);
works on one infopath form but not on another one. I get a null error, like
it is not finding myate1 in the list of data sources (which it is) I am
almost positve that myate1 is correct -- I used the expression box to
verify that.
My question is what does the second line of this code do -- xsi:nil ?? any
other ideas why it would be erroring.
Thanks
SR
var xmlNode = XDocument.DOM.documentElement.selectSingleNode("myate1");
if (xmlNode.getAttribute("xsi:nil")) xmlNode.removeAttribute("xsi:nil");
xmlNode.text = getDateString(now);
works on one infopath form but not on another one. I get a null error, like
it is not finding myate1 in the list of data sources (which it is) I am
almost positve that myate1 is correct -- I used the expression box to
verify that.
My question is what does the second line of this code do -- xsi:nil ?? any
other ideas why it would be erroring.
Thanks
SR