IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

XML Output - How To Change Output for Empty Tags Options · View
user_asdf
Posted: Thursday, January 24, 2019 6:31:11 PM
Rank: Newbie

Joined: 6/22/2018
Posts: 1
Location: Minneapolis
Hello,

I'm trying to update the XML output for empty tags to not be self closing tags, but rather empty elements.

Example:
I'm trying to make the following output:
Code:

<xml>
  <address />
</xml>


Become:
Code:

<xml>
  <address></address>
</xml>


What's the best way to achieve this? Any advice would greatly be appreciated!
K101
Posted: Friday, January 25, 2019 8:26:17 AM
Rank: Advanced Member

Joined: 2/27/2009
Posts: 564
It's not presently possible to control the form of empty elements in MapForce output. That would be a feature request. Note that as far as an XML parser is concerned the two forms are equivalent.
Users browsing this topic
guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.