xsl-list
[Top] [All Lists]

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

2008-09-29 06:43:34
Well...a slight difference is that one is generating a newline at the
start of the result document and the other is not :-)

Xmlizer

On Mon, Sep 29, 2008 at 12:23 PM, Florent Georges 
<lists(_at_)fgeorges(_dot_)org> wrote:
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>
--~--



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