title: XSL-FO no text-indent at the top of a new page
body: <p>Is it possible to prevent a text-indent variable at the top of a new page of a document?</p>
  
  <p>Code:</p>
  
  <pre><code>&lt;xsl:template match="paragraph"&gt;
    &lt;fo:block text-indent="10pt"&gt;
      &lt;xsl:value-of select="."/&gt;
    &lt;/fo:block&gt;
  &lt;/xsl:template&gt;
  </code></pre>
  
  <p>New page:</p>
  
  <p>xxxxxxx</p>
  
  <p>instead of:</p>
  
  <p>text-indent xxxxxxx</p>
  
  <p>To avoid a text-indent at the first paragraph of a chapter i used the code below, but this won't help me with the text-indent at a new page:</p>
  
  <pre><code>&lt;xsl:template match="paragraph"&gt;
     &lt;xsl:choose&gt;
         &lt;xsl:when test="fn:position() = 1"&gt;
             &lt;fo:block&gt;
               &lt;xsl:value-of select="."/&gt;
             &lt;/fo:block&gt;
         &lt;/xsl:when&gt;
         &lt;xsl:otherwise&gt;
            &lt;fo:block text-indent="10pt"&gt;
                &lt;xsl:value-of select="."/&gt;
            &lt;/fo:block&gt;
         &lt;/xsl:otherwise&gt;
     &lt;/xsl:choose&gt;
  &lt;/xsl:template&gt;
  </code></pre>
  
  <p>Thanks!!</p>