Subject: RE: [xsl] Trying to use the SUM function on an attribute From: desimonp@xxxxxxxxx Date: Fri, 26 Jan 2001 22:23:27 -0500 (EST) |
Not using a specific one, just using XMLs generated from ADO streaming. Peter ______________________________ What namespace are you using? Shimon > -----Original Message----- > From: desimonp@xxxxxxxxx [mailto:desimonp@xxxxxxxxx] > Sent: Friday, January 26, 2001 5:06 PM > To: XSL > Subject: RE: [xsl] Trying to use the SUM function on an attribute > > > When I try to run this line in IE 5.5, I get an error > "unknown method" -->sum(/<--/@attr1) > > What does that mean? > > Peter > > --- Michael Kay <mhkay@xxxxxxxxxxxx> wrote: > > > 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 > > > > ++++++++++++++++++++++++++++++++++++++++++++++ > Peter DeSimone > > Email Address: desimonp@xxxxxxxxx > New Email Address: peter@xxxxxxxxxxxx > Web Address: Http://www.bigfoot.com/~desimonp > New Web Address: http://www.peter.desimone.com > > > ICQ: 20177836 > AOL Instant Messenger: Peterdesi1 > > ++++++++++++++++++++++++++++++++++++++++++++++ > > > > > --------------------------------------------------- > Get free personalized email at http://www.iname.com > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list --------------------------------------------------- Get free personalized email at http://www.iname.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Trying to use the SUM fun, Shimon Pozin | Thread | RE: [xsl] Trying to use the SUM fun, Dimitre Novatchev |
RE: [xsl] Trying to use the SUM fun, Shimon Pozin | Date | Re: [xsl] Copying unknown attribute, Bill Burton |
Month |