no line breaks between qandaentries in HTML output

View: New views
2 Messages — Rating Filter:   Alert me  

no line breaks between qandaentries in HTML output

by caporale :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

How can I guarantee that there will be a line break between each qandaentry in HTML output?  The standard DocBook HTML stylesheet doesn't separate them.  

Thanks,
Joseph Caporale

RE: no line breaks between qandaentries in HTML output

by Mauritz Jeanson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> -----Original Message-----
> From: caporale
>
> How can I guarantee that there will be a line break between
> each qandaentry
> in HTML output?  The standard DocBook HTML stylesheet doesn't
> separate them.  


Add this to your customization layer:

<xsl:template match="qandaentry">
  <xsl:apply-templates/>
  <tr><td><br/></td></tr>
</xsl:template>

/MJ



---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@...
For additional commands, e-mail: docbook-apps-help@...