Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Error in XPath Expression

From: xslspy@-----------.---------.---
To: NULL
Date: 11/1/2005 8:57:00 AM
I just found there is some problem with the inputting XML file.the solution 
is working fine.. i am sorry about that.

Any Inputs on Sum , Avg problem?

"Oleg Tkachenko [MVP]" wrote:

> xslspy wrote:
> > the out put should be like this ...
> > Roger Bos (sAssignedUser value from Table1)  - 10 (GroupCount Value from 
> > Table 2)
> > display sAssignedUser value from Table1 and the corrsponding GroupCount 
> > value from Table2
> > 
> > Roger Bos   -     10 
> 
> Something like
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
> version="1.0">
>      <xsl:template match="NewDataSet">
>          <xsl:for-each select="Table">
>              <xsl:value-of select="sAssignedUser"/> - <xsl:value-of 
> select="../Table2[GroupVal = current()/sAssignedUser]/GroupCount" /> 
> 
>          </xsl:for-each>
>      </xsl:template>
> </xsl:stylesheet>
> 
> 
> 
> -- 
> Oleg Tkachenko [XML MVP, MCAD]
> http://www.XmlLab.Net | http://www.XLinq.Net | http://blog.tkachenko.com
> 


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent