Adding a Text Formatting Object
You can add a text formatting object by including it in the processing model, as shown in Listing 20.15.
Listing 20.15 Using xsl-text to Insert Text into the Output XML File
1: <xsl:template match="title"> 2: <fo:block 3: font-size="14pt" 4: font-weight="bold" 5: space-before-optimum="12pt" 6: space-after-optimum="8pt">This poem is called ' 7: <xsl:process-children/> 8: <xsl:text> '</xsl:text> 9: </fo:block> 10: </xsl:template>