[thelist] Xsl for each problems

MarsHall evolt at marsorange.com
Wed Nov 20 14:24:01 CST 2002


Good afternoon fstorr...

On Wednesday, Nov 20, 2002, at 13:58 US/Central, fstorr wrote:
> All I get is one lonely bullet point and nothing else!  I've used the
> working draft doctype as I need this to work in IE5.
> ......SNIP......
> <xsl:for-each select="title">
> <li>
> <xsl:value-of select="text()" />
> </li>
> </xsl:for-each>
> </ul>


Try replacing:
		<xsl:for-each select="title">
	with
		<xsl:for-each select="//title">

That XPath will select a node set of all <title /> elements from
anywhere in the document.

Mars :)




More information about the thelist mailing list