I don't know a lot about that, but I think your problem is probably this line:
Code:
<datatype>number</datatype>
I guess it probably stops when it gets to the first thing that's not a number. Maybe try changing it to:
Code:
<datatype>free</datatype>
ETA: of course if was set to "number" that probably means the code is expecting a number, so hopefully you've handled that...