XML create null attribute

norberto

Member
Hi All


I'm creating a xml file using function B49T0550, it's almost done, one requirement is missing, I need an attribute even with null value


current program example, setting any value to v the result is:
<Dictionary name="Email">
<Entry v="test@test" k="from">
</Dictionary>


But in the same program if I just set the parameter to null the v parameter disappear like this
<Dictionary name="Email">
<Entry k="from">
</Dictionary>


I need the v parameter even if null like below example:
<Dictionary name="Email">
<Entry v="" k="from">
</Dictionary>


Do you guys have any idea wot to resolve this?


Many thanks
 
Back
Top