Jump to content

This xsl issues with xpath!


TheJoey

Recommended Posts

i have two xpath functions but the second one seems to copy every matching word and creates to many duplicates

 

		  
<xsl:for-each select="xmlroot/xmldirectory/find[not(.=following::find)]/..">			

	<xsl:variable name="var1" select="find" />
<xsl:for-each select="//wordEntry/find[./text()=$var1]/../results">
	    <xsl:value-of select="."/>
	</xsl:for-each>

Link to comment
https://forums.phpfreaks.com/topic/199337-this-xsl-issues-with-xpath/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.