What are the disadvantages of using procedural markup languages?
Answer:
Procedural markup languages are inflexible, information retrieval is difficult, and they require multiple documents for files that require different formats.
What is the purpose of the Document Type Definition (DTD) file and XML schemas?
Answer:
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.
4.
What are the benefits of XHTML over HTML?
Answer:
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.
5.
What are your two options for transforming XML content into a displayable or printable form?
Answer:
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.
6.
What is an XML namespace?
Answer:
Namespaces are tag prefixes that distinguish between elements of the same name defined within different DTDs or XML schemes.
7.
What is the benefit of CSS?
Answer:
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.
8.
What is the purpose of the position() function in the XSLT examples in this Chapter?
Answer:
The position() function outputs the line number of the current goal.