create an XML file with wxXmlDocument
Biozic
bioziccc at free.fr
Tue Oct 30 06:57:07 PDT 2007
É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).
Regards,
Nicolas
More information about the wx-users
mailing list