Click here to Skip to main content
16,005,120 members
Home / Discussions / XML / XSL
   

XML / XSL

 
QuestionXPATH and concat Pin
rana7411-Mar-07 5:36
rana7411-Mar-07 5:36 
QuestionAdd Comma's in Integer field Pin
GaryWoodfine 9-Mar-07 1:03
professionalGaryWoodfine 9-Mar-07 1:03 
AnswerRe: Add Comma's in Integer field Pin
nyogeswar9-Mar-07 1:31
nyogeswar9-Mar-07 1:31 
GeneralRe: Add Comma's in Integer field Pin
GaryWoodfine 9-Mar-07 2:02
professionalGaryWoodfine 9-Mar-07 2:02 
Questionxml version 6.0 Pin
WhiteGirl238-Mar-07 20:54
WhiteGirl238-Mar-07 20:54 
AnswerRe: xml version 6.0 Pin
Stefan Troschuetz8-Mar-07 21:13
Stefan Troschuetz8-Mar-07 21:13 
GeneralRe: xml version 6.0 Pin
WhiteGirl238-Mar-07 22:46
WhiteGirl238-Mar-07 22:46 
Questionusing position() Pin
Russell Jones8-Mar-07 4:16
Russell Jones8-Mar-07 4:16 
I'm using this code to try to sum a column in some data:

<code><xsl:value-of select="sum(../../staff/stat[position()])"/></code>

<xsl:value-of select="position()"/> returns the position as expected


if i replace position() with 1 i get the sum of the first column as expected but when i put position() as the parameter i get the sum of all the columns.

I don't know how many columns there will be in the data so i can't hardcode it.

Have i made a really trivial error or am i not understanding how these things work?

Thanks

Russell
AnswerRe: using position() Pin
Russell Jones8-Mar-07 5:40
Russell Jones8-Mar-07 5:40 
QuestionUse of XSL Variable or Param Pin
Abubakarsb7-Mar-07 23:59
Abubakarsb7-Mar-07 23:59 
AnswerRe: Use of XSL Variable or Param Pin
Mark J. Miller8-Mar-07 6:59
Mark J. Miller8-Mar-07 6:59 
GeneralRe: Use of XSL Variable or Param Pin
Abubakarsb13-Mar-07 12:14
Abubakarsb13-Mar-07 12:14 
GeneralRe: Use of XSL Variable or Param Pin
Mark J. Miller13-Mar-07 12:41
Mark J. Miller13-Mar-07 12:41 
GeneralRe: Use of XSL Variable or Param Pin
Abubakarsb13-Mar-07 12:52
Abubakarsb13-Mar-07 12:52 
GeneralRe: Use of XSL Variable or Param Pin
Mark J. Miller13-Mar-07 13:32
Mark J. Miller13-Mar-07 13:32 
QuestionString in XSLT Pin
w13RTH70Lo6-Mar-07 2:52
w13RTH70Lo6-Mar-07 2:52 
QuestionDataSet in XSLT Pin
w13RTH70Lo5-Mar-07 22:17
w13RTH70Lo5-Mar-07 22:17 
QuestionXSLT Permomance : for-each vs apply-templates Pin
SIJUTHOMASP5-Mar-07 11:04
professionalSIJUTHOMASP5-Mar-07 11:04 
AnswerRe: XSLT Permomance : for-each vs apply-templates Pin
George L. Jackson6-Mar-07 17:10
George L. Jackson6-Mar-07 17:10 
QuestionMSXML 5.0 SDK Pin
Andy H5-Mar-07 3:52
Andy H5-Mar-07 3:52 
AnswerRe: MSXML 5.0 SDK Pin
Dmitry Khudorozhkov5-Mar-07 7:12
Dmitry Khudorozhkov5-Mar-07 7:12 
GeneralRe: MSXML 5.0 SDK Pin
Andy H5-Mar-07 7:55
Andy H5-Mar-07 7:55 
GeneralRe: MSXML 5.0 SDK Pin
Stefan Troschuetz5-Mar-07 19:52
Stefan Troschuetz5-Mar-07 19:52 
GeneralRe: MSXML 5.0 SDK Pin
Andy H5-Mar-07 20:30
Andy H5-Mar-07 20:30 
QuestionMerging 2 XML documents Pin
w13RTH70Lo4-Mar-07 2:58
w13RTH70Lo4-Mar-07 2:58 

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.