Hi,
To change the output element names, you will need to customize the following 
templates that currently output <h> lements:

division.title in html/division.xsl
component.title in html/component.xsl
section.heading in html/sections.xsl

Note that in 1.73.0, the div element classes are no longer hardwired to the 
element name.  Instead, class values are generated using mode="class.value", 
which can be customized for individual elements.  That makes it a lot easier to 
customize class names without copying big templates into your customization 
layer.   But I don't think that will help in this case since you need to change 
the output element names.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
[EMAIL PROTECTED]


  ----- Original Message ----- 
  From: Miller, Ray (Centech) 
  To: [email protected] 
  Sent: Thursday, July 26, 2007 11:45 AM
  Subject: [docbook-apps] HTML Component and Section Title Class Modifications


  docbook-rng-5.0B5 xsl-1.73.0 oxygen-8.2.0 (eclipse-3.3 plugin)

   

  Need to modify all xslt generated html component.title <Hx class="title"> 
elements to <p class="foo1"> and sect[1-5].title <Hx class="title"> elements to 
<p class="foo2">

   

  How does one create a customization layer to accomplish this or is it more 
practical to directly modify the html/xhtml stylesheets?

   

  Ray

   

Reply via email to