Click here to Skip to main content
16,006,476 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: ActiveX WYSIWYG HTML Editor Pin
Jason Jystad24-Sep-01 12:11
Jason Jystad24-Sep-01 12:11 
GeneralRe: ActiveX WYSIWYG HTML Editor Pin
Paul Watson25-Sep-01 22:30
sitebuilderPaul Watson25-Sep-01 22:30 
GeneralRe: ActiveX WYSIWYG HTML Editor Pin
Jason Jystad26-Sep-01 5:50
Jason Jystad26-Sep-01 5:50 
Questionhow to use asp to upload a file to the remote server? Pin
Tea CH11-Sep-01 17:36
Tea CH11-Sep-01 17:36 
AnswerRe: how to use asp to upload a file to the remote server? Pin
Jon Sagara13-Sep-01 8:38
Jon Sagara13-Sep-01 8:38 
Generalsetup Pin
kushidost11-Sep-01 3:42
kushidost11-Sep-01 3:42 
GeneralSaving ASP Output to HTML Pin
Paul Watson7-Sep-01 5:35
sitebuilderPaul Watson7-Sep-01 5:35 
GeneralUsing <xsl:variable> with group transform Pin
5-Sep-01 21:11
suss5-Sep-01 21:11 
Dear All,
Here is a xsl to transform the xml by grouped by "cost_type" and displays
group summary "avg hourly cost" for each cost_type, by matching to
respective <gpr_aggr> node of XML file. For purpose of matching to a specific <grp_aggr> node, I used <xsl:variable>.

Can somebody help me out with this transform and tell me why the 2nd
<xsl:value-of> meant to display value of <grp_aggr> node matching with
respective cost_type, is not matching with any node.
Any timely solution is appericiated.

Desired Output
-------
Cost type Hourly CostCTC
Billable
200 378000
150 0
50 0
Avg HCost: 133
Avg HCost: 133 (-->showing blank in actual output)
Actual
100 189000
Avg HCost: 133
Avg HCost:129 (--> showing blank in actual output)






<xsl:for-each select="./record[count(.|key('key_1',cost_type)[1]) =
1]">
<xsl:value-of select="cost_type">
<xsl:for-each select="key('key_1', cost_type )">
<xsl:value-of select="Hourly_Cost"> <xsl:value-of select="CTC">

<xsl:variable name="variable_1" select="cost_type">

Avg HCost:
<xsl:value-of select="//group[@colvalue='Billable']/grp_aggr[@id='1']">

Avg HCost:
<xsl:value-of select="//group[@colvalue=$variable_1]/grp_aggr[@id='1']">







-->
GeneralUsing <xsl:variable> with group transform Pin
5-Sep-01 20:50
suss5-Sep-01 20:50 
GeneralASP Session variables Pin
Not Active5-Sep-01 18:33
mentorNot Active5-Sep-01 18:33 
GeneralRe: ASP Session variables Pin
14-Sep-01 4:05
suss14-Sep-01 4:05 
GeneralRe: ASP Session variables Pin
16-Sep-01 12:17
suss16-Sep-01 12:17 
GeneralEasy question Pin
AaronGman5-Sep-01 10:29
AaronGman5-Sep-01 10:29 
GeneralRe: Easy question Pin
Erik Thompson5-Sep-01 14:43
sitebuilderErik Thompson5-Sep-01 14:43 
QuestionDoes it enyone know how can I call printPreview in IE5.5+? Pin
5-Sep-01 3:02
suss5-Sep-01 3:02 
AnswerRe: Does it enyone know how can I call printPreview in IE5.5+? Pin
Not Active5-Sep-01 10:04
mentorNot Active5-Sep-01 10:04 
GeneralURGENT : Using a DLL in InternetExplorer Pin
sanskypotov2-Sep-01 20:55
sanskypotov2-Sep-01 20:55 
GeneralRe: URGENT : Using a DLL in InternetExplorer Pin
Not Active3-Sep-01 3:38
mentorNot Active3-Sep-01 3:38 
GeneralRe: URGENT : Using a DLL in InternetExplorer Pin
sanskypotov3-Sep-01 4:03
sanskypotov3-Sep-01 4:03 
GeneralSiteServer Cookie Pin
Ravi Shankar29-Aug-01 19:13
Ravi Shankar29-Aug-01 19:13 
GeneralRe: SiteServer Cookie Pin
1-Sep-01 21:05
suss1-Sep-01 21:05 
GeneralASP: File System Object Pin
29-Aug-01 8:26
suss29-Aug-01 8:26 
GeneralRe: ASP: File System Object Pin
Not Active29-Aug-01 8:58
mentorNot Active29-Aug-01 8:58 
GeneralCombo box size Pin
- Emanuele -29-Aug-01 5:39
- Emanuele -29-Aug-01 5:39 
GeneralRe: Combo box size Pin
calebcohoon30-Aug-01 15:54
calebcohoon30-Aug-01 15:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.