This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
DocBook XSL: overriding body.attrs?
- To: docbook-apps <docbook-apps at lists dot oasis-open dot org>
- Subject: DOCBOOK-APPS: DocBook XSL: overriding body.attrs?
- From: Mark Pilgrim <pilgrim_mark at yahoo dot com>
- Date: Wed, 18 Apr 2001 08:55:12 -0700 (PDT)
I am having trouble with one of the parameters in params.xsl:
body.attrs. I would like to output HTML with no attributes at all in
the <body> tag, but all my efforts to do this (short of overriding the
entire templates) have failed.
1. <xsl:attribute-set name="body.attrs"/>
This simply has no effect.
2. <xsl:attribute-set name="body.attrs"><xsl:attribute
name="bgcolor"/><xsl:attribute
name="text"/>...etc...</xsl:attribute-set>
This produces output with blank attribute values, which I suppose I
should have expected:
<body bgcolor="" text="" ...etc...>
Short of overriding chunk-element-content and commenting out the
xsl:use-attribute-sets="body.attrs", how do I override an attribute
set?
-M
You're smart; why haven't you learned Python yet?
http://diveintopython.org/ (built with DocBook)
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org