xsl-list
[Top] [All Lists]

Re: [xsl] Still thinking to object oriented...

2008-09-29 06:23:43
Andrew Welch wrote:

<xsl:template match="/">
      <xsl:for-each select="//*">
              <xsl:value-of select="concat('
',name())"/>
      </xsl:for-each>
</xsl:template>

  Which spells more clearly as:

    <xsl:value-of select="//*/name(.)" separator="&_#10;"/>

  ;-),

--drkm























      

--~------------------------------------------------------------------
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>
--~--