How do I display on an html page an xml?
how can I set in python text/html?
I'm writing in the html as:
response.out.write
How do I display on an html page an xml?
how can I set in python text/html?
I'm writing in the html as:
response.out.write
Copyright © 2021 Jogjafile Inc.
Assuming your using
mod_python
:Or:
http://www.modpython.org/live/current/doc-html/pyapi-mprequest-mem.html
If you just want to have pretty xml output in a text file, use BeautifulSoup
prettify()
on the xml.