Re: [xsl] XSLT 1.0 newbie: sum of selected elements2006-12-11 07:53:52I wrote <xsl:variable name="x" select="..//element[type/@id[.=2 or .=3]/amount"/> it works better if you have as many ] as [ <xsl:variable name="x" select="..//element[type/@id[.=2 or .=3]]/amount"/> David --~------------------------------------------------------------------ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/ or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com> --~--
|
|