?
=?ISO-8859-1?Q?J=FCrgen_Holly?=
Hi!
I have the following xml-node:
<docu>
<p>Sample: <b>bold</b></p>
<p>and text in <i>italic</i></p>
</docu>
I need to create a text-file, so I set the output-mode to text.
In a docu-node you can write normal text and additionally html-tags.
In the text-file I should output that:
"<p>Sample: <b>bold</b></p><p>and text in <i>italic</i></p>"
i.e. compress text between <docu> and </docu> in a single line.
I wrote this template - but it dont't work. The html-tags are filtered
out and the linebreak is still there.
<xsl:template match="docu">
<xsl:copy-of select="."/>
</xsl:template>
In html-mode the html-tags will be copied.
How can I do this??
Thanx for help!
Jürgen
I have the following xml-node:
<docu>
<p>Sample: <b>bold</b></p>
<p>and text in <i>italic</i></p>
</docu>
I need to create a text-file, so I set the output-mode to text.
In a docu-node you can write normal text and additionally html-tags.
In the text-file I should output that:
"<p>Sample: <b>bold</b></p><p>and text in <i>italic</i></p>"
i.e. compress text between <docu> and </docu> in a single line.
I wrote this template - but it dont't work. The html-tags are filtered
out and the linebreak is still there.
<xsl:template match="docu">
<xsl:copy-of select="."/>
</xsl:template>
In html-mode the html-tags will be copied.
How can I do this??
Thanx for help!
Jürgen