The XML Output
Go Up to The C Program
The preceding code generates the following XML file:
<?xml version="1.0"?> <!-- Example XML from IB (smistry) --> <Employee_DB> <PhoneList> <Employee> <LAST_NAME>Bender</LAST_NAME> <FIRST_NAME>Oliver H.</FIRST_NAME> <PHONE_EXT>255</PHONE_EXT> </Employee> <Employee> <LAST_NAME>Bishop</LAST_NAME> <FIRST_NAME>Dana</FIRST_NAME> <PHONE_EXT>290</PHONE_EXT> </Employee> <Employee> <LAST_NAME>Brown</LAST_NAME> <FIRST_NAME>Kelly</FIRST_NAME> <PHONE_EXT>202</PHONE_EXT> </Employee> <Employee> <LAST_NAME>Burbank</LAST_NAME> <FIRST_NAME>Jennifer M.</FIRST_NAME> <PHONE_EXT>289</PHONE_EXT> </Employee> <Employee> <LAST_NAME>De Souza</LAST_NAME> <FIRST_NAME>Roger</FIRST_NAME> <PHONE_EXT>288</PHONE_EXT> </Employee> … … <Employee> <LAST_NAME>Young</LAST_NAME> <FIRST_NAME>Katherine</FIRST_NAME> <PHONE_EXT>231</PHONE_EXT> </Employee> </PhoneList> </Employee_DB>