SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to generate XML files of the lists present inside a sharepoint site. The XML file will contain all the data and folders in a structured way. Is there any tool available to do this?

Has anybody worked on this. Thanks in advance.

share|improve this question
up vote 1 down vote accepted

well, if you save the site as a template and include data, the resulting WSP/STP consists of a CAB file with XML data inside, making it machine-readable. I assume that's why you want the XML output? So you can parse it in code?

share|improve this answer

Try using content deployment wizard available here:

Once your lists are exported in .cmp file, you can rename it to .cab and open he cab file and access bunch of XML files.

share|improve this answer

Save the list as template and use it as your wish. it will be generated like XML.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.