|
February 20, 2002 Printing A Parsing Error Tips: February 2002
Yehuda Shiran, Ph.D.
|
|
When loading XML files, you must keep error handling in place. Otherwise, debugging the XML, DTD, and XSL files is going to be very time consuming. The following script reads mydvd7.xml, prints a relevant error message if the parsing was not successful, and prints the DOM tree otherwise:
People who read this tip also read these tips: Look for similar tips by subject: |