I need to skip a node on a xmlport.
When the tag is empty I need to skip it from the xml file.
I need this because the schema does not allow empty tags.
Can anybody help me with this?
Another solution is after you've created the xml fie load into MS XML DOM and then traverse through the tree and create a second xml file without the empty elements
Ahmed Rashed Amini
Independent Consultant/Developer
Comments
viewtopic.php?f=7&t=55043&hilit=xmlport
Kelly
http://stackoverflow.com/questions/1099 ... empty-tags
or
http://www.mibuso.com/forum/viewtopic.php?f=23&t=18042
Yes this is ugly.
Technically the parser on the other side should accept them but in many cases for example XML to EDIFACT translation it will not.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n