1 / 8

Comprehensive Testing of XHTML Documents: Transitional and Strict DTDs

This tutorial session focuses on testing XHTML documents under both transitional and strict DTDs. You will learn how to validate your documents using XML parsers available on the web. The session also explores the use of character data, including parsed character data (PCDATA) and unparsed character data (CDATA), essential for browser interpretation. We will discuss the importance of fixing common mistakes, as a single error can lead to multiple validation issues. Join us for a deeper understanding of XHTML validation and style sheet usage.

ganesa
Télécharger la présentation

Comprehensive Testing of XHTML Documents: Transitional and Strict DTDs

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Tutorial 9 – Session 2 Working with HTML

  2. Objectives Test an XHTML document under the transitional DTD Test an XHTML document under the strict DTD Explore the use of character and parsed character data New Perspectives on HTML and XHTML, Comprehensive

  3. Testing an XHTML Document To test your document, you need to send the file to an XML parser Several are available on the Web Sometimes the same mistake results in several errors noted in the report Fixing one mistake can solve several errors New Perspectives on HTML and XHTML, Comprehensive

  4. Testing an XHTML Document New Perspectives on HTML and XHTML, Comprehensive

  5. Successful Validation Under XHTML Transitional New Perspectives on HTML and XHTML, Comprehensive

  6. Testing an XHTML Document To test under another DTD, you’ll need to change the DOCTYPE declaration New Perspectives on HTML and XHTML, Comprehensive

  7. Using Style Sheets and XHTML Parsed character data (PCDATA) is text parsed by a browser or parser Unparsed character data (CDATA) is text not processed by the browser or parser A CDATA section marks a block of text as CDATA so that parsers ignore any text within it New Perspectives on HTML and XHTML, Comprehensive

  8. Summary Test under transitional DTD Test under strict DTD Character and parsed character data

More Related