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] |
Other format: | [Raw text] |
Fredrik Svensson wrote:
This answer I got from Bob Stayton when I've been asking the same question several weeks ago:When adding content into a page the <html>, <head> and <body> is not needed. The docbook.xsl (1.53.0) adds these elements (line 301-326). I have currently solved this by commenting out the unwanted portions (see example at the end). How do I go about changing this in the best way ? The <!-- --> will work for now, but is there a better way ?
This "feature" will only be called by the webappliction while docbook.xslYes. You just need a 'customization layer' - a stylesheet that imports the original docbook.xsl and overrides all templates you need to change, as in the examples above.
should remain normal. I guess it is possible to write some simple
stylesheet that calls docbook.xsl
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |