59
Views
2
Comments
XML extension null values
Question

Hi,

I am using XML extension to generate an XML file. My problem is I am not able to show empty tags. 

I am setting Inner text of my child element " " . The result is  <BIC/>  but I want to get  <BIC></BIC> 


Is there some way to do so?

2019-06-15 21-39-22
Afonso Carvalho
 
MVP

Hi Meri,

I don't believe there's a way to do this with XML Records (assuming that it's the extension you're using).

The reason for this is that there's no semantical difference between them - they're both valid, empty tags. I'm going to investigate and see if it would be possible to add a choice, but this might take some time. For your immediate need, you might be better off replacing the self enclosing tags in the text.

2019-07-08 11-15-14
Meri Hayrapetyan

Hi Alfonso,

Yes, I already figured  out that way. Anyway thank you for your help.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.