2 Replies Latest reply on Feb 2, 2011 3:41 PM by BR001

    Set xsi:nill="true" attribute in XML




      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!