Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

XML Keep empty tags

rahulab
Participant
0 Kudos

Hii All,

Does anyone know how to keep the empty tags in XML document while using the FM SDIXML_DATA_TO_DOM?

i tried using the control parameter and passing value as 'N' - 'Do not Omit Initial values'

but in output i get the initial tag as below, check REPRESENTATIVENAME

<GENERAL>

<CONTRACTACCOUNT>250101000000</CONTRACTACCOUNT>

<REPRESENTATIVENAME />

</GENERAL>

your input is much appreciated.

Thanks in advance

1 REPLY 1

Former Member
0 Kudos

Hi Rahul,

That is how XML puts empty tabgs. That is its syntax to treat empty tags.

regards,

Advait