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

    Set xsi:nill="true" attribute in XML

    ida_raski Community Member

      Hi,

       

      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!

       

      Regards,

       

      Kristof