Moving to XML
|
Beginning XSL-T (iv) output specifier
<xsl:output indent="yes" method="html"
doctype-public="-//W3C//DTD HTML 4.0 Transitional//EN"/>
-
The output specifier is not required
-
If it exists it must appear at top level
-
as a child of the
xsl:stylesheet element
-
indent="yes" says we want the output neatly
indented to show structure
-
method="html" saya we want the output to have
html syntax
-
might have been "xml" or "text"
-
doctype-public says include a DOCTYPE
declaration of this DTD
-
There are a number of other possible
attributes.
An older version of this course
is available here