[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: matching elements only once
mxmodi@xxxxxxxxxxxxxxx wrote: > XSL file: > > <xsl:variable name="weektotal"> > <xsl:value-of select="count(descendant::TimeSheet[not(child::*)])"/> > </xsl:variable> > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list i would use <xsl:value-of select="count(Employees/Employee/TimeSheets/TimeSheet)"/> (but i am new to xml so dont trust me :-) .. i am sure there are better ways, but for me it worked...) mike XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|