A question about xml

I finished the code to create and save text data to xml.

Now, I am trying to finish the decode xml. I have found something I am usure about.

My save XMLNode for empty entries is (for example): [quote]<Col_2></Col_2>[/quote] but the xml file loaded in Safari is displayed as <Col_2/>

And, I found that apparently, if a XMLNode is empty, I get a Nil when I want to get aNode.FirstChild.Value. So I added a Nil checking to my code.

Is it correct ?

Yes. <Col_2 /> is exactly the same as <Col_2></Col_2>, and you should always check for Nil (or aNode.ChildCount = 0).

Thank you Tim for your help.