This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: inconsistent XSL results (saxon/XT)


/ Dave Makower <davemak@iclick.com> was heard to say:
| (a) XT is right, and saxon needs a bugfix, or
| 
| (b) saxon is right, and the docbook stylesheets need to be tweaked.

I guess the stylesheets need to be tweaked. Saxon seems to (a) assume
that indent="yes" in xsl:output and (b) does indentation inside <pre>
which I might argue is a bug, but I won't.

Try setting indent="no" in xsl:output in your stylesheets. I've added
it to the default stylesheets, but I haven't, um, tested it :-)

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com>      | Providence gives us the same reply
http://www.oasis-open.org/docbook/ | as the soldier who was begged by a
Chair, DocBook Technical Committee | prisoner to spare is life:
                                   | 'Impossible--although you can ask
                                   | me for anything
                                   | else.'--Xim\'en\`es Doudan

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]