What is the purpose of the Document Type Definition (DTD) file and XML schemas?
You can use DTDs and XML schemas to declare custom elements and define the overall structure and flow of your XML documents. You can then validate your XML files to ensure that they use the valid elements.
What are the benefits of XHTML over HTML?
You can specify custom tags using XHTML. Because XHTML forces you to adhere to the strict rules of XML, browsers will gradually become less complex to develop.
What are your two options for transforming XML content into a displayable or printable form?
You can transform XML into XHTML or HTML and apply CSS. Or you can transform XML into XSL-FO to generate displayable or printable output using a third-party XSL-FO processor.
What is an XML namespace?
Namespaces are tag prefixes that distinguish between elements of the same name defined within different DTDs or XML schemes.
What is the benefit of CSS?
CSS is beneficial for rendering a large number of documents into a standard format. CSS also has powerful and intuitive formatting tools that were previously unavailable to you.
What is the purpose of the position() function in the XSLT examples in this Chapter?
The position() function outputs the line number of the current goal.