[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: apply template
From: Bruce D'Arcus <bdarcus@xxxxxxxxxxxxx>
Date: Tue, 24 Aug 2004 09:59:36 -0400
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>

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member