Thanks to the list for the help earlier...  Now I'm trying to apply an XSLT
document to the generated XML and nothing seems to show up.  I suspect if it
worked as it's supposed to you'd see two code 200 msgs in STDOUT - one for
the XML itself and one for the XSLT document.  So far I'm only getting one
and I can see the contents of my XSLT doc only if I look directly at it with
the browser.  Is this something else that is blindingly obvious for others?

My code.py is as follows:

urls = (
    "/", "index",
    "/main.xsl", "xslmain"
)
...
        xmlstr = "<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n<?xml-stylesheet type=\"text/xsl\"
href=\"./main.xsl\"?>\n"
        xmlstr = xmlstr + etree.tostring(runlist, pretty_print=True)
...
class xslmain:
    def GET (self):
        web.header("Content-Type","text/xml; charset=utf-8")
        print open("templates/main.xsl").read()

 - Joe

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to