NYCPHP Meetup

NYPHP.org

[nycphp-talk] Xpath Calculations (Math)

Daniel Krook krook at us.ibm.com
Tue Nov 9 02:04:19 EST 2004


> Ive moved some code from MySQL to static XML/Xpath and was trying to 
figure
> out if there is an easy way to perform (and sort) sum calculations
...
> Is there an Xpath hack/function to do this?


Have a look at the XSLT Cookbook.  I think there may be a function in 
there for this: 

TOC:
http://www.oreilly.com/catalog/xsltckbk/toc.html

Code samples:
http://examples.oreilly.com/xsltckbk/







Daniel Krook, Application Developer
WW Web Production Services North 2, ibm.com
1133 Westchester Avenue, White Plains, NY 10604

Personal: http://info.krook.org/
Persona: http://w3.ibm.com/eworkplace/persona_bp_finder.jsp?CNUM=9A9796897





More information about the talk mailing list