I’ve tried searching for the answer but have not found the correct way of parsing this chunk of text:
<Hotspot X="-8892.787" Y="-121.9584" Z="82.04719" />
<Hotspot X="-8770.094" Y="-109.5561" Z="84.59527" />
<Hotspot X="-8755.385" Y="-175.0732" Z="85.12362" />
<Hotspot X="-8701.564" Y="-114.794" Z="89.48868" />
<Hotspot X="-8667.162" Y="-122.9766" Z="91.87251" />
<Hotspot X="-8802.135" Y="-111.0008" Z="82.53865" />
I want to output each line into:
Ex. X="-8892.787" Y="-121.9584" etc...
I am guessing you’re not too current on your development skills, but that is not just text, it’s xml and you would easily access it using Linq To XML in a fashion like so:
I would read up on XML and Linq To XML at:
http://msdn.microsoft.com/en-us/library/aa286548.aspx
http://msdn.microsoft.com/en-us/library/bb387098.aspx