xsl-list
[Top] [All Lists]

Re: cdata, grouping and upconversion

2004-12-11 08:47:23

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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>