[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] XSL-FO Doctype Problem
At 2008-01-26 19:40 -0700, Karl Stubsjoen wrote:
My XSL-FO output is getting a doctype. This is because the parent xsl
template declares a doctype, but I do not understand, if I have an
output of type xml at the fo template level, and I am matching on root
"/", shouldn't the doctype be snuffed?
Serialization is separate from result tree building, which is
different from source tree matching.
Matching on the root node *of the source tree* declares the
construction template of nodes *for the result tree*. Serialization
guides how the result tree is realized as angle brackets.
The <xsl:output> defines aspects of serialization of the result tree,
regardless of how the result tree is built.
I hope this helps.
. . . . . . . . . . Ken
--
World-wide corporate, govt. & user group XML, XSL and UBL training
RSS feeds: publicly-available developer resources and training
G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995)
Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers: http://www.CraneSoftwrights.com/legal
|