In addition to the method for importing media library to foobar, using iTunes XML format, here is XSL transformation for easily managing data as spreadsheet f.e.:
transformation.xsl
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<songlist>
<xsl:apply-templates select="plist/dict/dict/dict"/>
</songlist>
</xsl:template>
<xsl:template match="dict">
<song>
<xsl:apply-templates select="key"/>
</song>
</xsl:template>
<xsl:template match="key">
<xsl:element name="{translate(text(), ' ', '_')}">
<xsl:value-of select="following-sibling::node()[1]"/>
</xsl:element>
</xsl:template>
</xsl:stylesheet>
If option for importing XSLT isn't available in your editor, add this as a third line in original XML file:
<?xml-stylesheet type="text/xsl" href="transformation.xsl"?>