Skip navigation
Currently Being Moderated

Set xsi:nill="true" attribute in XML

Jan 12, 2011 1:37 AM



I'm trying to set the xsi:nill attribute in an XML element by scripting. (Javascript)

The setAttribute method doesn't work. And manually adding a new and empty element doesn't work either.

When I leave a field which has binding empty, the nill attribute is automatically set to true.

Why can't I reproduce this by scripting? Does someone have a clue?

Thanks in advance!






More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points