Chapter 7


1.

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.

2.

What is PDATA?

Answer:

PDATA indicates that the parser should inspect the data that follows for tags. For example, the footer in the book outline example in this Chapter uses the PDATA "Copyright © Cisco Press 2005." The © indicates to the parser to insert the copyright (©) symbol into the data.

3.

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.



Content Networking Fundamentals
Content Networking Fundamentals
ISBN: 1587052407
EAN: 2147483647
Year: N/A
Pages: 178

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net