|
Subject: Re: [xsl] string replacement for HTML tags From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Thu, 25 Apr 2002 17:28:41 -0400 |
Cheers, Wendell
Hello Daniel,
I think this is a legitimate use case for disable-output-escaping.
<xsl:template match="data"> <xsl:value-of disable-output-escaping="yes" select="translate(., '[]', '<>')"/> </xsl:template>
So with translate() you don't need a recursive approach.
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] string replacement for HT, Joerg Heinicke | Thread | Re: [xsl] string replacement for HT, David Carlisle |
| Re: [xsl] Extending xsltproc?, Steve Ball | Date | Re: [xsl] Fwd: Over/under trimming , Thomas B. Passin |
| Month |