xsl-list
[Top] [All Lists]

Re: element values don't display with value-of

2002-11-01 10:15:00

<xsl:for-each select="sources/source">
so now the current node is source
<xsl:value-of select="source" /> 
  and that is looking for source children of the current node, but
source elements don't have source children, you want
<xsl:value-of select="." /> 

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



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