> So, using xpath, I have constructed the following function. The problem is
> the quotes "" around the number. xpath is treating it as a string, I
> believe.

Would sprintf() work for this?

Something like:

$num = sprintf("%d", $xpathNum);

I haven't tested this.

-- 
--Matthew Sims
--<http://killermookie.org>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to