OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: 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/


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC