Dark theme

XML and Python


Next, we'll try adding to our program to parse and add to the XML.


Using the XML associated with the DTD, try out the code from the lecture to list elements of the XML.


Once you've got that working, try adding in a new polygon as in the lecture notes.

Try writing the newly altered XML to a file.


Once you've got that working, go on to the next part where we'll generate some HTML from our file.


  1. Validating
  2. This page
  3. Transforming <-- next