xsl-list
[Top] [All Lists]

Re: apply template

2004-08-24 06:59:36

Jan, try this (note I got rid of the for-each and explicit template select, which you really only want to do if you need to reorder content as far as I understand):

        <xsl:template match="/">
                <div class="Blog">
                    <xsl:apply-templates/>
                </div>
        </xsl:template>

        <xsl:template match="myns:Entry">
                <div class="Entry">
                        <div>
                                <xsl:value-of select="myns:PubDate" />
                        </div>
                </div>
        </xsl:template>
</xsl:stylesheet>



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