I'm parsing a fairly large XML stream using "encoding/xml"; most of it 
seems to work fine, but I have a couple of bits like:

<BetTypeCost>
<decimal>4.00</decimal>
<decimal>10.00</decimal>
</BetTypeCost>

and:

<AvailableRange>
<int>1</int>
<int>2</int>
<int>3</int>
<int>7</int>
<int>8</int>
<int>10</int>
</AvailableRange>

where I haven't been able extract those values as an array. I would like to 
get the values back as strings, not numerics. I've tried a couple dozen 
things and been spending 
WAY too much time trying to solve this, and haven't found anything in 
previous topics that seem to address this. The main-level items are coming 
back as either completely empty, only getting 1 of the values, or in one 
case, I got an array of garbage chars. Suggestions appreciated!
Ken

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to