On Wed, 2006-10-18 at 15:07 -0400, Paul Winkler wrote:
On Wed, Oct 18, 2006 at 06:13:38PM +0100, garry saddington wrote:
Can anyone explain what is happening here. I am using Saxon to transform
an xml file(source) using a stylesheet(style) the result is then written
to Postgres. The
garry saddington wrote at 2006-10-18 18:13 +0100:
...
import psycopg, string, re, subprocess
def scholarpack_xml_transform(source):
f=open('/opt/scholarpack/ancillary/source.xml','w')
f.write(source)
f.close
The line above looks buggy: missing ().
...
Can anyone explain what is happening here. I am using Saxon to transform
an xml file(source) using a stylesheet(style) the result is then written
to Postgres. The contents of source are uploaded in Zope and passed to
the external method as a string. When I run this external method:
import
+---[ garry saddington ]--
| Can anyone explain what is happening here. I am using Saxon to transform
| an xml file(source) using a stylesheet(style) the result is then written
| to Postgres. The contents of source are uploaded in Zope and passed to
| the external method as
+---[ garry saddington ]--
| On Thu, 2006-10-19 at 03:18 +1000, Andrew Milton wrote:
| +---[ garry saddington ]--
| | Can anyone explain what is happening here. I am using Saxon to transform
| | an xml file(source) using a stylesheet(style) the
On Wed, Oct 18, 2006 at 06:13:38PM +0100, garry saddington wrote:
Can anyone explain what is happening here. I am using Saxon to transform
an xml file(source) using a stylesheet(style) the result is then written
to Postgres. The contents of source are uploaded in Zope and passed to
the