The info you seek is in the XML export. You will have to parse the XML, it is human-readable, but since it is a structured document it is really intended to be processed by a computer. I program in Perl, but there are numerous XML parsing libraries for a variety of languages that, like Perl, are platform independent (python, java, c++, basic, etc.)
The odd thing is when you do an XML export, you get everything...all library entries along with every playlist it knows about.
Pioneer Support has been kind enough to give us the XML spec, starting here: http://rekordbox.com/support/developer.php?lang=en There is a PDF linked on that page which (along with an exported example) give you a good idea what's where in that sea of data.