Can't add a <fo : inline > element to my xsl
<p>At my work iv got a small bug. Just need to underline a small text part. 
But im getting an error when trying to add a  tag. 
Its giving me the error report that its not a valid child. </p>

<p>The error is as follows: </p>

<pre><code>Caused by: javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: "fo:inline" is not a valid child of "fo:flow"! (See fo:flow, "Mademoiselle ADS S, 1, 10000 TRO...")
    at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2304)
    at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682)
    at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336)
    at org.apache.xalan.templates.ElemTemplate.execute(ElemTemplate.java:393)
    at org.apache.xalan.templates.ElemCallTemplate.execute(ElemCallTemplate.java:247)
    at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336)
    at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682)
    at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336)
    at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682)
    at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336)
    at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682)
    at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336)
    at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2202)
    at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1276)
    at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:673)
    at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1192)
    at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1170)
    at com.albiran.ebiza.utilitaires.PDFGenerator.produceXMLData(PDFGenerator.java:117)
    at com.satec.pdf.SAPDFGenerator.generatePDF(SAPDFGenerator.java:163)
    at com.albiran.ebiza.envoi.AsyncAttachment.getPath(AsyncAttachment.java:41)
    ... 3 more
</code></pre>

<p>And the xsl file is as follows:</p>

<pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    version="1.0" xmlns:fo="http://www.w3.org/1999/XSL/Format"&gt;
    &lt;xsl:import href="SAPdfUtils.xsl" /&gt;
    &lt;xsl:output method="xml" encoding="ISO-8859-1" /&gt;

    &lt;xsl:template match="/"&gt;
        &lt;fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"&gt;
            &lt;!-- ******************************** Déclaration, des pages ************************** --&gt;
            &lt;fo:layout-master-set&gt;
                &lt;fo:simple-page-master master-name="mainpage"
                    page-width="21cm" page-height="29.7cm" margin-top="1cm"
                    margin-bottom="1cm" margin-left="1cm" margin-right="1cm"&gt;
                    &lt;fo:region-body region-name="xsl-region-body"
                        extent="0cm" margin-top="5cm" margin-bottom="2.5cm" margin-left="2cm"
                        margin-right="2cm" /&gt;
                &lt;/fo:simple-page-master&gt;
            &lt;/fo:layout-master-set&gt;

            &lt;fo:page-sequence master-reference="mainpage"
                font-family="Arial"&gt;

                &lt;!-- ******************************** Body ************************** --&gt;
                &lt;fo:flow flow-name="xsl-region-body" font-size="12pt"
                    font-family="Arial" text-align="justify"&gt;

                    &lt;!-- Page 1 --&gt;
                    &lt;xsl:call-template name="break" /&gt;
                    &lt;xsl:call-template name="page1" /&gt;
                    &lt;fo:block break-after="page" /&gt;

                &lt;/fo:flow&gt;
            &lt;/fo:page-sequence&gt;
        &lt;/fo:root&gt;
    &lt;/xsl:template&gt;

    &lt;xsl:template name="page1"&gt;
        &lt;fo:table table-layout="fixed"&gt;
            &lt;fo:table-column column-width="60%" /&gt;
            &lt;fo:table-column column-width="40%" /&gt;
            &lt;fo:table-body&gt;
                &lt;fo:table-row text-align="left" font-weight="bold"&gt;
                    &lt;xsl:call-template name="cellBreak" /&gt;
                    &lt;fo:table-cell&gt;
                        &lt;fo:block&gt;
                            &lt;xsl:value-of select="/document/contractor/nameLong" /&gt;
                        &lt;/fo:block&gt;
                        &lt;xsl:call-template name="break" /&gt;
                        &lt;fo:block&gt;
                            &lt;xsl:value-of select="/document/contractor/road" /&gt;
                        &lt;/fo:block&gt;
                        &lt;xsl:call-template name="break" /&gt;
                        &lt;fo:block&gt;
                            &lt;xsl:value-of select="/document/contractor/city" /&gt;
                        &lt;/fo:block&gt;
                    &lt;/fo:table-cell&gt;
                &lt;/fo:table-row&gt;
            &lt;/fo:table-body&gt;
        &lt;/fo:table&gt;
        &lt;xsl:call-template name="break" /&gt;
        &lt;xsl:call-template name="break" /&gt;
        &lt;xsl:call-template name="break" /&gt;
        &lt;fo:block text-align="right"&gt;
            Paris, le
            &lt;xsl:value-of select="/document/date" /&gt;
        &lt;/fo:block&gt;
        &lt;xsl:call-template name="break" /&gt;

        &lt;fo:block font-weight="bold"&gt;
            Votre référence client : N°
            &lt;xsl:value-of select="/document/contractor/id" /&gt;
        &lt;/fo:block&gt;
        &lt;fo:block font-weight="bold"&gt;
            N° de contrat :
            &lt;xsl:value-of select="/document/policy/id" /&gt;
        &lt;/fo:block&gt;
        &lt;fo:block font-weight="bold"&gt;
            Intitulé du produit :
            &lt;xsl:value-of select="/document/policy/productName" /&gt;
        &lt;/fo:block&gt;
        &lt;xsl:call-template name="break" /&gt;
        &lt;xsl:call-template name="break" /&gt;


            &lt;fo:inline text-decoration="underline"&gt;
            Objet : Remise en vigueur de votre contrat d’assurance.
            &lt;/fo:inline&gt;

        &lt;fo:block padding="-10px"&gt;
            &lt;fo:leader leader-length="90%" leader-pattern="rule"
                rule-style="solid" rule-thickness="0.1mm" color="black" /&gt;
        &lt;/fo:block&gt;
        &lt;xsl:call-template name="break" /&gt;
        &lt;xsl:call-template name="break" /&gt;
        &lt;xsl:call-template name="break" /&gt;

        &lt;fo:block&gt;
            &lt;xsl:value-of select="/document/contractor/longTitle" /&gt;
            &lt;xsl:text&gt;,&lt;/xsl:text&gt;
        &lt;/fo:block&gt;
        &lt;xsl:call-template name="break" /&gt;
        &lt;xsl:call-template name="break" /&gt;

        &lt;fo:block&gt;
            Suite à votre règlement du 
            &lt;xsl:value-of select="/document/dateOfThePayment" /&gt;
            de votre prime de
            &lt;xsl:value-of select="/document/unpaidAmount" /&gt;
            &lt;xsl:call-template name="space" /&gt;
            &lt;xsl:text&gt;€&lt;/xsl:text&gt;
            &lt;xsl:call-template name="space" /&gt;
            pour la période du
            &lt;xsl:value-of select="/document/startDate" /&gt;
            au
            &lt;xsl:value-of select="/document/endDate" /&gt;
            , nous vous confirmons la remise en vigueur votre contrat d’assurance en date d’effet du 
            &lt;xsl:value-of select="/document/reinstatementDate" /&gt;
            .
        &lt;/fo:block&gt;
        &lt;xsl:call-template name="break" /&gt;

        &lt;fo:block&gt;
            Nous restons à votre disposition. 
        &lt;/fo:block&gt;
        &lt;xsl:call-template name="break" /&gt;




        &lt;fo:block&gt;
            Nous vous prions de croire,
            &lt;xsl:value-of select="/document/contractor/longTitle" /&gt;
            &lt;xsl:text&gt;, en l'expression de nos sentiments dévoués.&lt;/xsl:text&gt;
        &lt;/fo:block&gt;
        &lt;xsl:call-template name="break" /&gt;
        &lt;xsl:call-template name="break" /&gt;

        &lt;fo:table table-layout="fixed"&gt;
            &lt;fo:table-column column-width="60%" /&gt;
            &lt;fo:table-column column-width="40%" /&gt;
            &lt;fo:table-body&gt;
                &lt;fo:table-row&gt;
                    &lt;xsl:call-template name="cellBreak" /&gt;
                    &lt;fo:table-cell&gt;
                        &lt;fo:block&gt;
                            Votre Conseiller SATEC
                        &lt;/fo:block&gt;
                        &lt;xsl:call-template name="break" /&gt;
                        &lt;fo:block&gt;
                            Tél. : 
                            &lt;xsl:value-of select="/document/satecPhone" /&gt;
                        &lt;/fo:block&gt;
                    &lt;/fo:table-cell&gt;
                &lt;/fo:table-row&gt;
            &lt;/fo:table-body&gt;
        &lt;/fo:table&gt;
    &lt;/xsl:template&gt;

    &lt;xsl:template name="cellBreak"&gt;
        &lt;fo:table-cell&gt;
            &lt;xsl:call-template name="break" /&gt;
        &lt;/fo:table-cell&gt;
    &lt;/xsl:template&gt;

    &lt;xsl:template name="tableLineBreak"&gt;
        &lt;fo:table-row&gt;
            &lt;xsl:call-template name="cellBreak" /&gt;
        &lt;/fo:table-row&gt;
    &lt;/xsl:template&gt;

&lt;/xsl:stylesheet&gt;
</code></pre>

<p>I don't really have to much experience with xsl files sadly. And iv seen that people had this problem but for different reasons.</p>

<p>Thank you in advance and sorry if im missing something simple or trivial, im just not sure as to what may be the problem here. </p>