<p>I have an xslt sheet with some text similar to below:</p>

<pre><code>&lt;xsl:text&gt;I am some text, and I want to be bold&lt;/xsl:text&gt;
</code></pre>

<p>I would like some text to be bold, but this doesn't work.</p>

<pre><code>&lt;xsl:text&gt;I am some text, and I want to be &lt;strong&gt;bold&lt;strong&gt;&lt;/xsl:text&gt;
</code></pre>

<p>The deprecated b tag doesn't work either. How do I format text within an xsl:text tag?</p>

Try this:
```
```
<fo:inline font-weight="bold"><xsl:text>Bold text</xsl:text></fo:inline>
```
```
XSL-FO Tutoria: Inline Text
Formatting
XSL-FO inline Object