XMLPorts - How do you exlude blank nodes?

dimanopdimanop Member Posts: 10
Hi, I have a client who requires optional XML nodes to be excluded from an xml file as they have troubles importing xml messages with blank open ended nodes.

Is there a way to stop these blank nodes from being included in an xml message from a XMLPort? Any suggestions would be much appreciated. :)

Thanks, Tom

Comments

  • DenSterDenSter Member Posts: 8,305
    You can load the XML document that you create with an XMLPort into an "XML Document" variable and manipulate it that way. The XMLPort itself though will always create an empty element.

    An empty element, by the way, is well formed XML. Any program that accepts an XML document should be capable of handling empty elements.
  • dimanopdimanop Member Posts: 10
    Thanks for the reply Daniel, much appreciated. :D
Sign In or Register to comment.