Turning xml into a number variable

Once you load up your xml, how can you convert a certain node into a number variable?