diff options
author | Raúl Benencia <rbenencia@linti.unlp.edu.ar> | 2012-08-02 18:06:23 -0300 |
---|---|---|
committer | Raúl Benencia <rbenencia@linti.unlp.edu.ar> | 2012-08-02 18:06:23 -0300 |
commit | 4d30bf280dbdb68ad72e01e911bf039b48ccb869 (patch) | |
tree | e885129fdfecb1327fb50e13ac24d3cca208cbb5 /examples | |
parent | 10e9272d170f5c634e8ca8f7415fb4ad1454bfe6 (diff) |
Completed XML parsing
Diffstat (limited to 'examples')
-rw-r--r-- | examples/networks.xml | 40 |
1 files changed, 31 insertions, 9 deletions
diff --git a/examples/networks.xml b/examples/networks.xml index 641071d..7efe017 100644 --- a/examples/networks.xml +++ b/examples/networks.xml @@ -1,13 +1,35 @@ <?xml version="1.0"?> -<networks> - <network name="Network one"> - <domain>one.network.example</domain> +<data> + <network id="1"> + <name>Network one</name> <ip_block>10.10.0.0/24</ip_block> - <admin_contact>Admin Istrator <admin@one.network.example></admin_contact> + <domain>1</domain> + <admin>1</admin> </network> - <network name="Network two"> - <domain>two.network.example</domain> - <ip_block>10.11.0.0/24</ip_block> - <admin_contact>Admin Ister <admin@two.network.example></admin_contact> + + <network id="2"> + <name>Network one</name> + <ip_block>10.11.0.0/24</ip_block> + <domain>2</domain> + <admin>2</admin> </network> -</networks>
\ No newline at end of file + + <person id="1"> + <name>Admin</name> + <surname>Istrator</surname> + <email>admin@one.network.example</email> + </person> + + <person id="2"> + <name>Admin</name> + <surname>Ister</surname> + <email>admin@two.network.example</email> + </person> + + <domain id="1"> + <name>one.network.example</name> + </domain> + <domain id="2"> + <name>two.network.example</name> + </domain> +</data>
\ No newline at end of file |