Re: [xsl] replacing < > in template

Subject: Re: [xsl] replacing < > in template
From: Mike Brown <mike@xxxxxxxx>
Date: Sat, 18 May 2002 14:13:17 -0600 (MDT)
I wrote:
>   <xsl:template match="processing-instruction()" mode="serialize">
>     <xsl:value-of select="concat('&lt;?',.,'?&gt;')"/>
>   </xsl:template>

Sorry, I just kind of threw that together. The 2nd line there
should be:

<xsl:value-of select="concat('&lt;?',local-name(),' ',.,'?&gt;')"/>

   - Mike
____________________________________________________________________________
  mike j. brown                   |  xml/xslt: http://skew.org/xml/
  denver/boulder, colorado, usa   |  resume: http://skew.org/~mike/resume/

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread