At 8:30 AM -0400 5/22/02, bob mcwhirter wrote: >> We've been working with the Jaxen implementation of the XSLT functions for >> our project. During some of our tests we noticed double values where we >> expected integer values. We determined that the doubles were coming from the >> count() function. We count the number of HTML rows in a document. However, >> it seems strange that the number returned is a double.
The reason is that XPath 1.0 only uses doubles. There are no integers in XPath. This is more of an XPath decision than a Jaxen decision. -- +-----------------------+------------------------+-------------------+ | Elliotte Rusty Harold | [EMAIL PROTECTED] | Writer/Programmer | +-----------------------+------------------------+-------------------+ | The XML Bible, 2nd Edition (Hungry Minds, 2001) | | http://www.cafeconleche.org/books/bible2/ | | http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/ | +----------------------------------+---------------------------------+ | Read Cafe au Lait for Java News: http://www.cafeaulait.org/ | | Read Cafe con Leche for XML News: http://www.cafeconleche.org/ | +----------------------------------+---------------------------------+ _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ Jaxen-interest mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jaxen-interest