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]

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/

------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org


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