This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: replacing < > in template
- From: Mike Brown <mike at skew dot org>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Sat, 18 May 2002 14:13:17 -0600 (MDT)
- Subject: Re: [xsl] replacing < > in template
- Reply-to: xsl-list at lists dot mulberrytech dot com
I wrote:
> <xsl:template match="processing-instruction()" mode="serialize">
> <xsl:value-of select="concat('<?',.,'?>')"/>
> </xsl:template>
Sorry, I just kind of threw that together. The 2nd line there
should be:
<xsl:value-of select="concat('<?',local-name(),' ',.,'?>')"/>
- 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