Skip to content

Latest commit

 

History

History
9 lines (8 loc) · 599 Bytes

README.md

File metadata and controls

9 lines (8 loc) · 599 Bytes

CSCU9T4-F_XMLpractical1

This repository holds the starter code for the first XML practical exercise in CSCU9T4 and F

  • changed BasicHandler to MenuHandler in SACMenu to make it run

  • added vaildateDocument(filename) to main method in DOMMenu with condition to only printnodes() if validation successful

  • changed printNodes method to print xml file

    • several NodeLists for the siblings of the items
    • if statement included to make sure they print in line with each other
  • swapped statements in validation method to print specific error occured last so that it is clearer to the user