views:

21

answers:

1

Hi,

I have a XML file that is managed by other programs, I am writing a web service such that users are able to query this file. In essence i am using a xml based database instead of using sql as the model database in Django.

how do i do this? all the tutorials that i find use a sql database in the backend. is there a way to use the xml file as a database.

A: 

Use XPath with lxml to find specific nodes within the document.

Ignacio Vazquez-Abrams