[XSL-LIST Mailing List Archive Home]
RE: [xsl] Ingoring HTML
Subject: RE: [xsl] Ingoring HTML|
From: Jay Burgess <lists@xxxxxxxxxxx>
Date: Fri, 17 Jun 2005 14:00:04 -0700
I think my fingers must have been working faster than my mind. Or were they? :)
From: Sam D. Chuparkoff [mailto:sdc@xxxxxxxxxx]
Sent: Friday, June 17, 2005 3:55 PM
Subject: Re: [xsl] Ingoring HTML
OK, it's rude to point out typos, but I just noticed the subject of this
post. If ingore were a word, I think it would mean something along the
lines of embedding while mutilating. So from now on, that's what I'm
calling this funky way of hiding markup in html title elements.
On Fri, 2005-06-17 at 12:40 -0700, Jay Burgess wrote:
> 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><SPAN style="font-size: 13pt; font-family: Verdana; >The
> <b>Text</b> That I Want</SPAN></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?