<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Steve,<br>
<br>
If you only want to make the topic titles look smaller you can open the:<br>
OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT\resource\commonltr.css<br>
CSS file (which gets copied to the output directory when transforming
to XHTML) and modify the font-sizes for the:<br>
.topictitle1<br>
.topictitle2<br>
.topictitle3<br>
......<br>
selectors.<br>
<br>
If you still want imbricated topic titles to start from &lt;h2&gt;
instead of &lt;h1&gt; you can open the:<br>
OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT\xsl\xslhtml\dita2htmlImpl.xsl<br>
and search for "NESTED TOPIC TITLES". There is a template below the
comment which generates the headings depending on the topic's level of
imbrication.<br>
In that template there is a line:<br>
&lt;xsl:otherwise&gt;&lt;xsl:value-of
select="count(ancestor::*[contains(@class,' topic/topic
')])"/&gt;&lt;/xsl:otherwise&gt;<br>
which you can replace with:<br>
&lt;xsl:otherwise&gt;&lt;xsl:value-of
select="count(ancestor::*[contains(@class,' topic/topic ')]) +
1"/&gt;&lt;/xsl:otherwise&gt;<b><br>
</b>to make the topics start from &lt;h2&gt; instead of &lt;h1&gt;.<b><br>
</b><br>
Regards,<br>
Radu<br>
<pre class="moz-signature" cols="72">-- 
Radu Coravu
&lt;oXygen/&gt; XML Editor, Schema Editor and XSLT Editor/Debugger
<a class="moz-txt-link-freetext" href="http://www.oxygenxml.com">http://www.oxygenxml.com</a> </pre>
<br>
On 4/19/2010 8:51 PM, Steve Matlock wrote:
<blockquote
 cite="mid:x2u486770971004191051nc90f0f72qc15fd08c195bc2b5@mail.gmail.com"
 type="cite">
  <pre wrap="">I realize I'm probably asking for someone to explain the equivalent of
string theory to a high school freshman, but I'm struggling to
understand how to modify the dita2htmlImpl.xsl file so that the
transformed files I get from Oxygen tag the &lt;task&gt; and &lt;concept&gt;
entries in my &lt;composite&gt; files are tagged as "H2" headings and not
"H3" headings.

Example of my composite topic file
&lt;?xml version='1.0' encoding='UTF-8'?&gt;
&lt;!DOCTYPE dita PUBLIC "-//OASIS//DTD DITA Composite//EN"
<a class="moz-txt-link-rfc2396E" href="http://docs.oasis-open.org/dita/v1.1/OS/dtd/ditabase.dtd">"http://docs.oasis-open.org/dita/v1.1/OS/dtd/ditabase.dtd"</a>&gt;
&lt;dita&gt;
    &lt;topic id="MyTopic"&gt;
        &lt;title&gt;My Composite Topic&lt;/title&gt;
        &lt;prolog&gt;
            &lt;metadata&gt;
                &lt;othermeta content="en_US" name="language"/&gt;
                &lt;othermeta content="US" name="country"/&gt;
            &lt;/metadata&gt;
        &lt;/prolog&gt;
        &lt;body&gt;
            &lt;p&gt;This is the general introduction to this concept and task.&lt;/p&gt;
        &lt;/body&gt;
    &lt;/topic&gt;
    &lt;concept id="concept1" conref="../../shared/en-us/concept1.dita#concept1A"&gt;
        &lt;title&gt;Concept title&lt;/title&gt;
     &lt;/concept&gt;
    &lt;task id="task1 conref="../../shared/en-us/taskt1.dita#task1A""&gt;
        &lt;title&gt;Task title&lt;/title&gt;
      &lt;/task&gt;
&lt;/dita&gt;


Assuming that this "works" in the transform, I get content where each
concept and task comes in tagged as "H1"  I need these to be tagged
"H2" instead.

I realize that I can use &lt;section&gt; tags to mark sections as
subordinate, but the &lt;composite&gt; type doesn't seem to support
&lt;section&gt; tags where I need them. Conceptually it would be like this:

&lt;section&gt;
&lt;title&gt;Major Concept&lt;/title&gt;
&lt;concept id="concept1" conref="concept1.dita#concept"&gt;
&lt;conbody/&gt;
&lt;/concept&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;title&gt;Major Task&lt;/title&gt;
&lt;task id="task1" conref="task1.dita#task"&gt;
&lt;taskbody/&gt;
&lt;/task&gt;
&lt;/section&gt;

but of course this doesn't work. Also, I would end up getting the
Title from the Section as well as the Task or Concept.

So, do I somehow munge the dita2htmlImpl.xsl file to somehow make
Tasks and Concepts "H2" entries, or can I somehow get the idea of a
subordinate Concept or Task into a Topic/Composite Topic DITA file?
_______________________________________________
oXygen-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:oXygen-user@oxygenxml.com">oXygen-user@oxygenxml.com</a>
<a class="moz-txt-link-freetext" href="http://www.oxygenxml.com/mailman/listinfo/oxygen-user">http://www.oxygenxml.com/mailman/listinfo/oxygen-user</a>
  </pre>
</blockquote>
<br>
<br>
</body>
</html>