Pugixml - Convert xml element content to C++ array
===

In my xml file I have arrays of ints written as follows: "1 10 -5 150 35", and I am using pugixml to parse it.

I know pugixml provides methods such as as_bool, or as_int, but does it provide an easy way of converting the string representation of an int array to a c++ object, or do I have to parse and separate the string myself? If so, any suggestions on how to do that?
