input in0 application/xml nullValueOn="none"
output application/xml writeNilOnNull=true
---
{
  result: {
    data1: {
      name: null default "DefaultName"
    },
    data2: {
      name: "Emiliano" default "DefaultName"
    },
    data3: {
      name: in0.data.info default "DefaultName"
    },
    data4: {
      name: in0.data.empty default "DefaultName"
    },
    data5: {
      name: in0.data.invalid default "DefaultName"
    }
  }
}