Hi,
I want to ask if someone knows how to do this...
I have an XMLPort and i want to do, that if the value of one tag is empty , the xml skip this tag.
This is because navision when exports an empty tag in xml do:
" <BIC /> " this is correct but i need that nav do <BIC></BIC> like HTML, so... the other option that i thought is skip the tag if value is empty..
The property MinOcurrs will do this?
Thanks!
0
Comments
NAV doesnt care about empty Tags, because its still wellformed XML.
I just ended up writing myself a little Codeunit to do searching and deleting of empty tags, using the file and ( yeah ) simple text analysis per text functions.
I havent seen a better solution yet, sadly.
Could you paste the code?
Thanks!