Thread: XML/XSL Help!
View Single Post
Old 10-24-2008, 07:33 PM   #3
photon
The new goggles also do nothing.
 
photon's Avatar
 
Join Date: Oct 2001
Location: Calgary
Exp:
Default

So something like this?

Code:
<xsl:for-each select="item">
 <p><xsl:value-of select="title"/></p>
 <p><xsl:value-of select="date"/></p>
 <p><xsl:value-of select="copy"/></p>
</xsl:for-each>
Though aren't paragraphs out of favour now? Or maybe:

Code:
<xsl:for-each select="item">
 <xsl:value-of select="title"/><br/>
 <xsl:value-of select="date"/><br/>
 <xsl:value-of select="copy"/><br/>
</xsl:for-each>
Or a DIV tag around them?
__________________
Uncertainty is an uncomfortable position.
But certainty is an absurd one.
photon is offline   Reply With Quote