Skip to content

Instantly share code, notes, and snippets.

@luckyscooby
Last active December 19, 2015 01:29
Show Gist options
  • Save luckyscooby/5876120 to your computer and use it in GitHub Desktop.
Save luckyscooby/5876120 to your computer and use it in GitHub Desktop.
Any programming language is able to implement XML parsing.
<?xml version="1.0"?>
<database>
<registry category="CLIENTS"> <!-- Each ID in a registry node is a distinct record -->
<ID="000001">
<name>Daniel</name>
<phone_residential>(01) 555-1234</phone_residential>
<phone_commercial>(01) 555-4321</phone_commercial>
<phone_mobile>(01) 999-0513</phone_mobile>
<address_main>Fox St., 11</address_main>
<address_city>Delta</address_city>
<address_state>BC</address_state>
<address_country>Canada</address_country>
<email>1@2.3</email>
<additional_info>etc etc etc etc etc etc ...</additional_info>
</ID>
</registry>
</database>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment