Re: uTidylib question..

2006-07-11 Thread Marc 'BlackJack' Rintsch
In <[EMAIL PROTECTED]>, bruce wrote: > import tidy > s = tidy.parseString(foo) > > which runs the information in "foo" through tidy, for cleaning. this results > in "s" being a "document object" > > print "s" will display the contents of the object. If this means it prints out what you want as

uTidylib question..

2006-07-11 Thread bruce
hi... you can do : import tidy s = tidy.parseString(foo) which runs the information in "foo" through tidy, for cleaning. this results in "s" being a "document object" print "s" will display the contents of the object. my question, can the "document object" be turned/translated into a string va