Management of floats with a given precision; XmlMarshaller can dump unicode or str result.
This commit is contained in:
parent
3bb907ca5d
commit
2e1c6a6999
5 changed files with 37 additions and 7 deletions
gen/plone25/wrappers
|
@ -350,7 +350,8 @@ class AbstractWrapper:
|
|||
if toDisk and not at:
|
||||
at = getOsTempFolder() + '/' + self.o.UID() + '.xml'
|
||||
# Create the XML version of the object
|
||||
xml = XmlMarshaller(cdata=True).marshall(self.o, objectType='appy')
|
||||
xml = XmlMarshaller(cdata=True, dumpUnicode=True).marshall(
|
||||
self.o, objectType='appy')
|
||||
# Produce the desired result
|
||||
if toDisk:
|
||||
f = file(at, 'w')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue