diff options
author | Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com> | 2013-02-13 12:15:13 +0000 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-02-14 09:33:33 +0100 |
commit | d696047efe8d7356f441a52b43a531e6ca8ad3c7 (patch) | |
tree | 51363605ba54b46eb4da54571d2ce24fc08a6b9d /src/rule.c | |
parent | c6aeca496fc747066ad09ac76c1fc281a948cd68 (diff) |
src: change XML output format to use element instead of attributes
There are some problems in using attributes:
* they cannot contain multiple values (child elements can)
* they are not easily expandable (for future changes)
* they cannot describe structures (child elements can)
* they are more difficult to manipulate by program code
* attribute values are not easy to test against a DTD
Extracted from "XML Elements vs. Attributes" at:
http://www.w3schools.com/dtd/dtd_el_vs_attr.asp
For more information.
Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/rule.c')
0 files changed, 0 insertions, 0 deletions