Subject:Removing all HTML tags from my content Author:Scott Baker Date:06 Sep 2005 09:07 PM
I'm trying to remove all HTML tags from a node. such as <br>
<br>
<node><br>
This is the <script language="javascript> (code goes here) </script> there would be more text <b> with </b> more tags <i>popping up</i>.<br>
</node><br>
<br>
I want all HTML removed. Can I use <br>
<xsl:value-of select="replace()" somehow? <br>
<br>
Thanks in advance, <br>
<br>
Scott.<br>
Subject:Removing all HTML tags from my content Author:Tony Lavinio Date:16 Sep 2005 02:34 PM
Not really being sure of what your source document looks like in its
entirety, did you just try
<xsl:value-of select=".">
That will return the strings within the current element and its children,
without the tags.