Re: [xsl] cdata, grouping and upconversion

Subject: Re: [xsl] cdata, grouping and upconversion
From: Bruce D'Arcus <bdarcus@xxxxxxxxxxxxx>
Date: Sat, 11 Dec 2004 10:47:23 -0500
On Dec 11, 2004, at 10:16 AM, Michael Kay wrote:

This doesn't feel like a grouping problem to me. It's just tokenizing ...

Ahh ... right. Thanks.


So I end up with:

  <xsl:template match="key:div">
    <xsl:for-each select="tokenize(., '\n')">
      <para>
        <xsl:value-of select="."/>
      </para>
    </xsl:for-each>
  </xsl:template>

Any suggestions on the best way to remove this in the output?

         <para/>
         <para>        </para>

Bruce

Current Thread