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]

Re: DOCBOOK-APPS:


Martin Bohatý wrote:

> I find that elements in <para> are ignored in XSL FO transformation. For
> example following text in XML
> 
> <para>Test for <constant>constant</constant></para>
> 
> is transformed into
> 
> <fo:block space-before.optimum="1em" space-before.minimum="0.8em"
> space-before.maximum="1.2em">Test for <fo:block
> color="red">&lt;constant&gt;constant&lt;/constant&gt;</fo:block>
> 
> and inner elements are ignored.
> Is there any reason for that or is it some error?

If you get red color in output, it means that there is missing template
for element. Check that you are using latest XSL stylesheet. If this
does not solve your problem, report bug at
http://sourceforge.net/tracker/?atid=373747&group_id=21935&func=browse

In the meanwhile, you can add following into your customization file:

<xsl:template match="constant">
  <xsl:apply-templates/>
</xsl:template>

-----------------------------------------------------------------
  Jirka Kosek  	                     
  e-mail: jirka@kosek.cz
  http://www.kosek.cz

------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]