It's been a while since playing with XSLT, but I think you need to transform the font tags as well, and use the text() function to extract what's between the tags.
It might be easier to convert the font tags to something else though? Felix ----- Original Message ----- From: "Sonia Hamilton" To: Cc: Sent:Wed, 18 Jul 2012 22:18:17 +1000 Subject:[SLUG] XSLT to remove font tags from xhtml? I've written (well adapted) an XSLT transform to attempt to remove font tags from some XHTML. However the transform is removing the font tags, and *all* the text between the font tags. Any ideas on how to remove just the font tags, and keep the text inside? Here's the transform: -- Sonia Hamilton http://www.snowfrog.net -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
