<s> from PropertySets import * <EOL> from Elements import * <EOL> from Styles import * <EOL> from Renderer import * <EOL> def dumps ( doc ) : <EOL> import cStringIO <EOL> s = cStringIO . StringIO ( ) <EOL> r = Renderer ( ) <EOL> r . Write ( doc , s ) <EOL> return s . getvalue ( ) </s>
