Click here to Skip to main content
15,903,203 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: SImple Problem with XML Pin
niansah3-Jun-05 21:37
niansah3-Jun-05 21:37 
Generalworml list style capturing Pin
ramissues30-May-05 19:21
ramissues30-May-05 19:21 
GeneralDOM Component Pin
eshban28427-May-05 23:14
eshban28427-May-05 23:14 
GeneralRe: DOM Component Pin
Christian Graus31-May-05 12:08
protectorChristian Graus31-May-05 12:08 
GeneralRe: DOM Component Pin
eshban2845-Jun-05 23:45
eshban2845-Jun-05 23:45 
GeneralRe: DOM Component Pin
Wilbur J. Pereira6-Jun-05 0:26
Wilbur J. Pereira6-Jun-05 0:26 
GeneralCorrect XPATH Pin
ksanju100026-May-05 4:27
ksanju100026-May-05 4:27 
Generaladd control to xslt by asp.net with vb Pin
mathuros_paiboon25-May-05 18:26
mathuros_paiboon25-May-05 18:26 
This is my xslt file

<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:asp="http://schemas.microsoft.com/intellisense/ie5"
xmlns:state="http://www.vbxml.com/state"
xmlns:str="http://www.vbxml.com/string"
xmlns:msxsl="urn:schemas-microsoft-com:xslt">
</msxsl:script>


<xsl:param name="calories">1500</xsl:param>
<xsl:template match="/">
<HTML>
<BODY STYLE="font-family:Arial, helvetica, sans-serif; font-size:10pt;
background-color:#EEEEEE">
</BODY>
</HTML>

<table align="center" width="100%" border = "1">
<tr>
<td width="30%" align= "center" bordercolor="#3366ff" bgcolor="#ccccff">activity</td>
<td width="20%" align= "center" bordercolor="#3366ff" bgcolor="#ccccff">score</td>
<td width="50%" align= "center" bordercolor="#3366ff" bgcolor="#ccccff">comment</td>
</tr>
<xsl:for-each select="//form_name[@name=$calories]//*">
<tr style="FONT-SIZE: 16px; Z-INDEX: 103;COLOR: blue; FONT-FAMILY: Arial;FONT-WEIGHT: bold ">
<td colspan = "3" bordercolor="#3366ff" bgcolor="#ccccff"><xsl:value-of select="@sub_group"/></td>
</tr>
<tr style="LIST-STYLE-POSITION: outside; BORDER-BOTTOM-COLOR: #999999; LIST-STYLE-TYPE: disc; BORDER-BOTTOM-STYLE: groove" >
<td style="FONT-SIZE: 14px; Z-INDEX: 103;COLOR: blue; FONT-FAMILY: Arial"><xsl:apply-templates/></td>

<xsl:if test = "name() = 'activity'">
<td align="center"><input type = "textbox" id = "score" Width="500px"></input></td>
<td><textarea id = "comment" size = "20"/></td>
</xsl:if>

</tr>
</xsl:for-each>
</table>
<button id = "btn_score">summary score</button>
</xsl:template>

<xsl:template match="activity">
<xsl:value-of select="activity"/>
</xsl:template>
</xsl:stylesheet>


QUESTION
I add textbox (id = "score) for user and add button (id = "sum_score") I want to get data in all textbox to calculate the summary of score and calculate percent when the user click button (id = "btn_score")
can someone have a suggestion for me, please
thank you

GeneralRe: add control to xslt by asp.net with vb Pin
Christian Graus25-May-05 18:33
protectorChristian Graus25-May-05 18:33 
GeneralRe: add control to xslt by asp.net with vb Pin
mathuros_paiboon25-May-05 19:28
mathuros_paiboon25-May-05 19:28 
GeneralRe: add control to xslt by asp.net with vb Pin
Christian Graus25-May-05 19:36
protectorChristian Graus25-May-05 19:36 
Generaladd control to xslt by asp.net Pin
mathuros_paiboon25-May-05 18:08
mathuros_paiboon25-May-05 18:08 
Generaladd control to xslt by asp.net Pin
mathuros_paiboon25-May-05 18:02
mathuros_paiboon25-May-05 18:02 
GeneralRe: add control to xslt by asp.net Pin
Christian Graus25-May-05 18:06
protectorChristian Graus25-May-05 18:06 
GeneralRe: add control to xslt by asp.net Pin
mathuros_paiboon25-May-05 18:30
mathuros_paiboon25-May-05 18:30 
Generaladd textbox to web by xslt condition Pin
mathuros_paiboon25-May-05 17:51
mathuros_paiboon25-May-05 17:51 
GeneralRe: add textbox to web by xslt condition Pin
Christian Graus25-May-05 18:05
protectorChristian Graus25-May-05 18:05 
GeneralXMLtransform and windows 2003 server Pin
Jan Foster23-May-05 10:51
Jan Foster23-May-05 10:51 
GeneralInsert node between particular node Pin
ksanju100022-May-05 18:26
ksanju100022-May-05 18:26 
GeneralRe: Insert node between particular node Pin
Christian Graus22-May-05 18:54
protectorChristian Graus22-May-05 18:54 
GeneralRe: Insert node between particular node Pin
Stuart Dootson22-May-05 22:31
professionalStuart Dootson22-May-05 22:31 
GeneralRe: Insert node between particular node Pin
ksanju100025-May-05 0:29
ksanju100025-May-05 0:29 
GeneralCopy/Clone XML node Pin
jeffb_22-May-05 7:35
jeffb_22-May-05 7:35 
GeneralRe: Copy/Clone XML node Pin
DavidNohejl22-May-05 11:50
DavidNohejl22-May-05 11:50 
Generalwant to generate Schema using WriteXmlSchema() Pin
favor0320-May-05 19:59
favor0320-May-05 19:59 

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.