%dw 2.0
ns ns0 urn:ns0
ns ns1 urn:ns1
ns ns2 urn:ns2
output application/xml writeNilOnNull=true
---
{
  result:
  {
    a: in0.user.name,
    b: in0.user.address,
    d @(name: in0.user.name): "Achaval",
    e: in0.user,
    f: in0.ns0#user,
    g: in0[ns0#user],
    h: in0.ns1#user
  }
}