You are here: Home Plone My Python Scripts Create xml file with python
Search
Advanced Search…
E-Mail

Webmail: webmail.wyden.com

E-Mail Preferences: postfix.wyden.com/users

E-Mail Administration: postfix.wyden.com

Statistics
Total: 463
Total Pages: 284
Total Folders: 87
Total Files: 18
Total Links: 26
Last modification: 03.02.2012 16:00
 

Create xml file with python

by Wyden Silvan last modified 03.02.2010 08:53

context.REQUEST.RESPONSE.setHeader('content-type', 'application/xml')

print "<?xml version=" + chr(34) + "1.0" + chr(34) + " encoding=" + chr(34) + "UTF-8" + chr(34) + " standalone=" + chr(34) + "yes" + chr(34) + "?>"
print "<TEST>"
print "<" + "/" + "TEST" + ">"

return printed