Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

Save web dav query as an xml file

  Asked By: Cale Alford         Date: Nov 17, 2009      Category: Sharepoint      Views: 237
 

Can anyone show me the code I would use to save the results of a web dav query
as an xml file? I already have the query working, I just want to save the
results in an xml file so I can view the node structure and better help me
create an XSL file.

Tagged:                

 

2 Answers Found

 
Answer #1       Answered By: Giselle Glass          Answered On: Nov 17, 2009       

I would think the easiest way to do this is to load the responsetext of
the XMLHTTP object into a DOM object using the loadXML function on the
DomDocument. Then you can easily persist to a file  by calling the Save
function of the DomDocument object. If you still need demo code, let me
know and I will write something up.

 
Answer #2       Answered By: Kendra Webb          Answered On: Nov 17, 2009       

Could you please show  me some demo code? I understand
what you're saying to do, but, I'm still trying to get
the hang of the syntax (vbscript, jscript, object and
their methods)

 
Didn't find what you were looking for? Find more on Save web dav query as an xml file Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].