This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: replacing < > in template


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]