|
Subject: RE: [xsl] Trying to use the SUM function on an attribute From: "Michael Kay" <mhkay@xxxxxxxxxxxx> Date: Fri, 26 Jan 2001 20:14:13 -0000 |
> I would like to do the following in JScript:
>
> var totalVal = xmlToSum.selectSingleNode("sum(///@attr1")
>
> But when I try to open this page, I get an error "Expected
> Identifier".
>
> What would be the proper syntax.
>
var totalVal = xmlToSum.selectSingleNode("sum(//@attr1)")
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Trying to use the SUM functio, desimonp | Thread | RE: [xsl] Trying to use the SUM fun, desimonp |
| [xsl] call a Perl function from XSL, Patricia Ballad | Date | [xsl] Formatting CDATA information, Chan, Tina |
| Month |