Ad
  • Default User Avatar

    Free yourself from XML addiction!
    If you want to go with your approach, choose another symbol for "row end" and "entry end". You don't need to write verbose xml inside your code.
    Also why public getCoord? Nobody should use this. Its the guts of your solution. Hide it!

    In general, building this string just to convert it into an array is questionable. Why not define the needed array directly as an array in the code. Hardcoding constants(!) is a good thing.