|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Replacing HTML in my XML using XSLT
Hi All,
In my XSL File, I am using <xsl:value-of
select="title" /> to get the value of the '<title>'
tag from xml.
When the XML has HTML tags in it ('e.g.' <b> Some
Text Here</b>. etc.), I get the HTML tags back as it
is. How do I get rid of these XML tags??? I tried
something like:
<xsl:value-of
select="translate(atom:title,'</b>',' ')" />
to replace the <b> or </b> tags with blanks. This
replaces even the legitimate 'b' values in the text
with blank. How do I look for a specific string e.g.
"<b>" in XSLT and replace it with another string? This
is urgent.
Thanks,
Dev
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








