XSLT value of select
Hi Everyone,
I have a problem in using the xslt value-of-select element.
My requirement is like this, I have a xml file with the source node as text area with visual editor, If this node is displayed using xslt as below.
<xsl:value-of select="item[@name='Main Page']/value/item[@name='Guidelines']/value/text()" />
The output is displayed as below
<p><span style="font-size: small; font-family: Times New Roman;"><span style="font-size: small; font-family: Times New Roman;"> <p align="left">This manual is primarily intended for web server administrators and system</p> <p align="left">administrators. UNIX users of this manual should be familiar with basic UNIX</p> <p align="left">commands and be able to use an editor such as emacs or vi. Windows users should be</p>
I need only the content to be displayed , excluding the font and style attributes . Can anyone help me the syntax to be used in XSLT for this problem
|