Search these areas:
Help
Support Forums
Product Info



-Introduction
-DataWeb: What's New
-Creating an Application
-The DataWeb Designer
-Application Management
-Data Tables
-Data Tables
-Views
-Templates
-Components
-Data Analysis
-Members
-Security
-Importing
-Exporting
-FTP
-JavaScript
-Object Model
-Full-Text Search
-Domain and Email Hosting
-HotBlock Modules
-Account Management
-Glossary
-New Responsive UI Module





DataWeb Help
Support Forums
Tutorial
Script Library
Knowledge Base

Home > Support

Support Forum



exporting data as XML
dmitp asked:
Is there a way to export data as XML?  Thanks.  
  willpugh responded:
  There are a couple of ways to get your data as XML:
1)  You can write a script that will spit out XML.  2)  If you export a web as an archive, and then open the archive file, you will find all the data in the archive is written in XML
3)  If you are not afraid of URL munging, you can tweak the _admin parameter on a .data file to say _admin=xml  This will spit out all the records as XML. 

The problem is that you must have designer permissions in order to do #3.  e.g.  foobar.dataweb.com/addressbook/addressbook.data?_admin=xml would spit out the XML for the data in the addressbook in a web called foobar.dataweb.com

We are looking at adding better solutions for getting at data via XML in the near future.
 
  dougl responded:
  Webcall-able functions allows you to write web-services that output data as XML in response to HTTP requests from other servers.

The setContentType method on the response object accepts "text/xml".

For more information about this, please see the help article:
http://help.dataweb.com/default.view?Topic=objectmodel/response/response_setcontenttype
 
  dougl responded:
  DataWeb considers this issue closed.
If you have additional questions or comments about this issue, please open it again.
If you have questions about a different topic please open a new support question.

Thanks,
DataWeb Support
 
  Please Log On
or create your own DataWeb Account.
Affiliate | Partner | Terms of Use | Privacy Policy | Contact Us | Pricing | Bring DataWeb In-House    
DataWeb, 720 North 10th Street, A #145, Renton, Washington 98057 *425-583-5970* Fax 484-770-4706* Email Us