Xython - XML-Formed Python
Max M
maxm at mxm.dk
Mon Feb 4 11:34:39 EST 2002
Alan Kennedy wrote:
> I don't understand what's wrong with
>
> <script language="python" xml:space="preserve">
> def messiah():
> print "He's NOT the Messiah."
> print "He's a very naughty boy."
> </script>
How about:
<script language="python" xml:space="preserve">
def messiah():
print '<sript language="JScript">'
print 'document.write("He\'s NOT the Messiah.")'
print 'document.write("He\'s a very naughty boy.")'
print '</script>'
</script>
hmmm ... fishy
regards Max M
More information about the Python-list
mailing list