[program-l] Querying the xml stackover flow dump

  • From: "Pranav Lal" <pranav.lal@xxxxxxxxx>
  • To: <program-l@xxxxxxxxxxxxx>
  • Date: Sat, 22 Jun 2019 10:23:50 +0530

Hi all,

Has anyone played with the stack overflow data dumps? I have a XML file of
posts that I want to query and pull results from. I was trying to do so in
python but  I am unable to get the package at
https://github.com/kamac/AskXML
To work.
You can read about  getting the stack overflow dump at
https://meta.stackexchange.com/questions/221397/is-there-a-way-to-download-a
n-offline-copy-of-the-stackoverflow-questions 

What other options do I have? I am looking at xquery. I can parse the  file
in python but am not looking forward to doing that because I would then have
to load the values into a database and query them.

In terms of what I want to do, I want to create a tab delimited file of
questions and their corresponding answers.
Pranav

** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq

Other related posts: