Try this:
grep "<TD>" yourfile.xml | awk -F "TD" '{gsub(">|</","",$0); print $2;}' the output will be:
51.9029244701 47.0082067303 grep select xml TD tag, awk use TD as separator and remove > and </ from $2 field.
In order to select all node, try xslt transformation:
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="text" indent="yes"/> <xsl:template match="node()"> <xsl:value-of select="." /> </xsl:template> </xsl:stylesheet> This will output content of all node in your xml file.