Click here to Skip to main content
16,019,614 members

Comments by Member 8644684 (Top 3 by date)

Member 8644684 5-May-12 5:24am View    
i have a small problem on this program :

i see many site for xssl example but all of them work on xml files that containt similar tag example :
<students>
<stu>
<titile></title>
<age>

<stu>
<titile></title>
<age>



on above example each stu tag has similar tag but my problem is : when each stu tag has not similar tag must what to do? example :

<students>
<stu>
<titile></title>
<web>15
<math>18

<stu>
<titile></title>
<graphic>12
20



i want to use for-each and calculate average of students courses.
can you help me?
<xsl:for-each select="students/stu">
<tr>
<td>
<xsl:value-of select="name">
</td>
<td>
<xsl:value-of select="lessons">
</td>
<td>
<xsl:value-of select="avg">
</td>
</tr>
Member 8644684 21-Apr-12 2:24am View    
i have this with javascript and without any plogin
Member 8644684 20-Apr-12 6:28am View    
some text example : textboxes value,div values,button values, all body elements values.