OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Identify first <section>?

I hope someone can help. I don't seem to be able to identify whether my 
<section> is the first child of <chapter> or not...

Docbook document is of the form:

    <section role="L1">...</>
      <section role="L2">...</>
    <section role="L1">...</>

When the FO stylesheet finds the first <section> within a <chapter> (ie. 
line 4 above), I want to force a new odd page. I'm trying to do this using 
a method outlined in:

In my compiled titlepage specification file I have:

<t:titlepage t:element="section" t:wrapper="fo:block">
  <t:titlepage-before side="recto">
    <xsl:param name="node" select="."/>
    <xsl:if test="not(node/preceding-sibling::section)">
      <fo:block break-before="page"/>
      <fo:block font-size="14pt" font-family="verdana" 

The <xsl:if test="not(node/preceding-sibling::section)"> doesn't seem to 
pick up what I'm after. Any suggestions?


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]