This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] Re: XHTML and chunking parameters
- From: Norman Walsh <ndw at nwalsh dot com>
- To: Bob Stayton <bobs at sco dot com>
- Cc: Geoff Leach <gl at cs dot rmit dot edu dot au>, docbook-apps at lists dot oasis-open dot org
- Date: Fri, 04 Apr 2003 08:36:55 +0100
- Subject: [docbook-apps] Re: XHTML and chunking parameters
- References: <20030227.022254.570419290.gl@cs.rmit.edu.au><20030226082438.B20136@sco.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
/ Bob Stayton <bobs at sco dot com> was heard to say:
| On Thu, Feb 27, 2003 at 02:22:54AM +1100, Geoff Leach wrote:
[...]
|> The slides stylesheets use write.chunk extensively, which uses
|> chunker parameters declared in chunker.xsl:
|>
|> chunker.output.cdata-section-elements
|> chunker.output.doctype-public
|> chunker.output.doctype-system
|> chunker.output.encoding
|> chunker.output.indent
|> chunker.output.media-type
|> chunker.output.method
|> chunker.output.omit-xml-declaration
|> chunker.output.standalone
|>
|> The html2xhtml.xsl transformation modifies chunker.outout.method to
|> 'xml' but does not change the other chunker parameters.
|>
|> The docbook/xsl/xhtmlhtml2xhtml.xsl transformation sets xsl:output as
|> (reformatted for easy reading):
|>
|> <xsl:output method="xml"
|> encoding="UTF-8"
|> doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
|> doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
|>
|> and it these doctypes which get used- at least in my testing with
|> Saxon 6.5.2. My understanding is that they are inherited by
|> saxon:output which (I think) actually does the output (serialization?).
|>
|> Is there a reason for not modifying the other chunker parameters,
|> and relying on xsl:output?
|>
|> It wouldnt be hard to set values for the chunker parameters in a
|> customization layer. But is it more appropriate they get modified by
|> html2xhtml (in both the DocBook and the slides stylesheets)?
|>
|> There's another reason I'm interested in the chunker parameters to
|> do with validation but I'll pop that into another post ...
|
| I agree. I went ahead and filed an RFE on SourceForge
| for this (#693732).
I was looking at this RFE on the plane a couple of days ago and I'm
confused by it. What other parameters do you think should be modified,
and how?
Be seeing you,
norm
- --
Norman Walsh <ndw at nwalsh dot com> | The most violent element in
http://www.oasis-open.org/docbook/ | society is ignorance.--Emma Goldman
Chair, DocBook Technical Committee |
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>
iD8DBQE+jTYXOyltUcwYWjsRAtXIAKCGHE3yfqXq34k0hhU3tXoI+funRACdEmmi
hMe1cs3Ejbdr2F7O9u7M6l4=
=HuXm
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe at lists dot oasis-open dot org
For additional commands, e-mail: docbook-apps-help at lists dot oasis-open dot org