Skip to Content
avatar image
Former Member

Null or Empty Value in XML

Is there a way to dictate whether the XML coming in or out of XI will use either:

(1) <field></field> (represent blank value)

(2) <field /> (represent Null value)

I see that it always uses (2) regardless. If I pass into XI <field></field>, I see that it changes it into <field />. Likewise, setting a field to constant "" will send it out as <field />. I would like to instead, send it out as <field></field>. I am hoping there's a standard way to handle . I am using HTTP so custom module is out of the question.

Thanks.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Feb 28, 2007 at 08:10 PM

    Bevan,

    Dont worry about that much. When you send a constant for the field in sxmb_moni it shows as <field />. But if you open the file by right clicking and view source you can see the spaces like <field> </field>. This is how XI treats the spaces.

    ---Satish

    Add comment
    10|10000 characters needed characters exceeded