xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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? :)

Great observation.

Jay

-----Original Message-----
From: Sam D. Chuparkoff [mailto:sdc@xxxxxxxxxx] 
Sent: Friday, June 17, 2005 3:55 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
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.

sdc

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>&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
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor