xsl-list
[Top] [All Lists]

Ingoring HTML

2005-06-17 12:40:11
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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>