I have a KML file with polygon coordinates like:
Code:
<coordinates>25.78640267409176,31.97431777211461,0 25.78640267409176,31.97431777211461,0 25.78640267409176,31.97431777211461,0 .... </coordinates>
(number1,number2,0 number1,number2,0 number1,number2,0 ...)
and I would like to extract them in the form of:
Code:
<numbers><number1>...</number1><number2>...</number2></numbers>
for this to happen I need regex and xsl:analyze-string for an XSLT
transformation, but I'm not familiar with regular expressions.
Has anyone used such a method..?