Early on in this book, you learned that XML is a meta-markup language, a specification of the syntax that a wide variety of markup languages all follow. You also learned the difference between well-formed XML documents, which follow the XML syntax, and valid XML documents, which adhere to the rules laid down by a particular markup language. In Chapter 2, we looked briefly at how to validate XML documents using DTDs and schemas to make sure that they contain the correct elements with the correct attributes and the right kind of values. In this chapter, well look at how to use XSLT and XPath to validate XML.
KeywordsMarkup Language Report Test Child Element XPath Expression Schema Language
Unable to display preview. Download preview PDF.