PrepAway - Latest Free Exam Questions & Answers

Which of the following is a non-XML syntax for describing the appearance of particular elements in a document?

Which of the following is a non-XML syntax for describing the appearance of particular elements in a
document?

PrepAway - Latest Free Exam Questions & Answers

A.
DTD

B.
XSL-FO

C.
SAX

D.
CSS

Explanation:
CSS stands for Cascading Style Sheets. It is a non-XML syntax for describing the appearance of
particular elements in a document. It is a straightforward language so no transformation is
performed. A CSS style sheet applies styles to the content that already exists and does not change
the markup of an XML document at all.
Answer B is incorrect. XSL-FO stands for Extensible Stylesheet Language Formatting Objects. It is
used for formatting XML data for output to screen, paper, or other media. It is a language for
formatting XML data. It is based on XML and is a W3C Recommendation.

Answer C is incorrect. SAX is an event-driven API that notifies the application of an event regarding
information associated with the detection of an element’s start tag or end tag, or occurrences of
text.
Answer A is incorrect. A DTD is written in a formal syntax that explains precisely which elements
may appear where in the document and what the elements’ contents and attributes are.


Leave a Reply