Application Development and Automation 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: 
Read only

XML Keep empty tags

rahulab
Participant
0 Likes
537

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
Read only

Former Member
0 Likes
447

Hi Rahul,

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

regards,

Advait