Re: [xsl] create escaped(?) html of some nodes

Subject: Re: [xsl] create escaped(?) html of some nodes
From: "Jan Limpens" <jan@xxxxxxxxxxx>
Date: Tue, 10 Oct 2006 21:42:22 -0300
Hi Florent,

2 looks very nice as I can use it in many places. I just don't
understand - how does the node-set() function come into play (in my
case it would be the ms extensions)?

2006/10/10, Florent Georges <darkman_spam@xxxxxxxx>:
  For 2/, you have to use you prefered xx:node-set() extension or XSLT
2.0.  You then create the template rules that make the escaping, in a
particular mode:

    <xsl:template match="*" mode="serialize">
      <xsl:value-of select="name()"/>
      <xsl:apply-templates select="@*" mode="serialize"/>
      <xsl:apply-templates select="node()" mode="serialize"/>
      <xsl:value-of select="name()"/>

Thanks a lot, -- Jan

Current Thread