← Prev in month ← Prev in thread

DOCBOOK-APPS: DocBook XSL: overriding body.attrs?

From
Mark Pilgrim <>
Date
2001-04-18T15:56:30+00:00
ID
Thread
DOCBOOK-APPS: DocBook XSL: overriding body.attrs?
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/
← Prev in month ← Prev in thread