[xsl] Ingoring HTML

Subject: [xsl] Ingoring HTML
From: Jay Burgess <lists@xxxxxxxxxxx>
Date: Fri, 17 Jun 2005 12:40:11 -0700
I apologize if this is in the FAQ, but I've searched and can't find it.  (I'm
kind of new to XSL, so I may just have not seen it.)

I've got some XML that contains HTML-formatted text.  For example:

<title>&lt;SPAN style="font-size: 13pt; font-family: Verdana; &gt;The
&lt;b&gt;Text&lt;/b&gt; That I Want&lt;/SPAN&gt;</title>

I want to write an <xls:template> to only return, in this example, "The Text
That I Want".  That is, I want it to ingore all HTML tags in the <title> and
just return the "text".

Is this hard to do?

Jay

Current Thread