Get the average of elements values in xsl
问题 I've been dealing with xsl for the first time today. The XML file I have looks like the following: <student_course> <students> <student num=""> <name gender=""></name> <course cid="1"></course> <course cid="2"></course> <course cid="3"></course> <course cid="4"></course> <comments></comments> </student> </students> <courses> <course cid="1"></course> <course cid="2"></course> <course cid="3"></course> <course cid="4"></course> </courses> </student_course> There are 10+ students, and I need to