1
I developed a system, still at Delphi 6, for Occupational Medicine, I know I have to update, but it’s impossible to do this now.
My problem is with creating an XML file to export data to E-social.
I am using the following routine to create an empty tag:
exame := Aso;
exame.AddChild('exame');
Aso.ChildNodes['exame'].NodeValue := '';
only that the result is: </exame>
and I need it to be: <exame></exame>
or is opened and closed.
And what’s the matter with you?
– Junior Moreira
Junior, thank you very much. The problem is that I can not create an empty tag or without the blank, type <exam></exam>, using the routine in my question.
– Renato Vaz
Well my friend, what is the problem that this causes you? As far as I understand, there is no problem in this. </name> is = a <name></name>
– Junior Moreira
Junior thanks again. The problem is that when sending me returns error in the exam item. Because in the xml that is generated this <scan/>. My friend how do I get out of this ?
– Renato Vaz
Junior in reality what happens is that when validating the generated file does not pass the error here </exam> when there are no complementary tests. So how to pass the validation ? Thank you very much.
– Renato Vaz