Altova Mailing List Archives
>xsl-list Archive Home
>Thread Prev - Re: [xsl] Still thinking to object oriented...
Re: [xsl] Still thinking to object oriented...
Date: 9/29/2008 10:44:00 AM
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@xxxxxxxxxxxx> 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