Elément vs attribut ? |
![]() ![]() ![]() |
Préférer les éléments, plutôt que les attributs, pour exprimer le contenu du document
A ceci :
<book author="J. M. Keynes" title="The General Theory of Employment, Interest and Money"/> |
Préférer ceci :
<book> <author>J. M. Keynes</author> <title>The General Theory of Employment, Interest and Money</title> </book> |
![]() |
XML/Méthodologie 25/2/2003 |
39/90 |