create an XML file with wxXmlDocument

Éric Laly elaly at free.fr
Tue Oct 30 09:29:57 PDT 2007


Biozic a écrit :
> 
> Éric Laly a écrit :
>>
>> So, if I've understood, we write <NODE /> if there is no child
>> and if there is a child we write <NODE> </NODE>
> That's it ! :)
;-)

>>
>> A last question: is it "wrong" to write <NODE> </NODE> if there is no 
>> child like I wrote
>> <CADRE taille="1,0" ></CADRE> (only one attribute) ?
> It isn't wrong but not recommended (see 
> http://www.w3.org/TR/REC-xml/#sec-starttags), and maybe less efficient 
> to parse (? not guaranteed).
thank you for the link.
It's exactly what I wanted !

Regards,
Éric.




More information about the wx-users mailing list