Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries [Thread Prev] >Thread Next - Re: xpath problems? xpath problems?To: NULL Date: 6/2/2006 9:14:00 AM Code snippet below (shortened for illustration purposes) My problem is that if I move the <xsl:value-of statement to the first line under <xsl:template match="/"> then it returns the @href attribute as I would expect. But if I leave it as shown below, it doesn't return a value, but I don't understand why. Can someone shed some light? <xsl:template match="/"> <xsl:call-template name="processSegmentDetails" > </xsl:template> <xsl:template name="processSegmentDetails"> <xsl:for-each select="$doc/*[local-name()='schema']/*[local-name()='element'][@name=$strRootReference]/*[local-name()='complexType']/*[local-name()='sequence']/*[local-name()='element']"> <xsl:value-of select="/*[local-name()='config']/*[local-name()='xsddocs']/@href"/> </xsl:template> | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
