Re: [Tutor] Beautiful Soup, inserting a node?

2005-12-02 Thread Kent Johnson
Bob Tanner wrote: > Kent Johnson wrote: > > >>>Is there a way to insert a node with Beautiful Soup? >> >>BS doesn't really seem to be set up to support this. The Tags in a soup >>are kept in a linked > > > What would the appropriate technology to use? You might also email the author of BS and

Re: [Tutor] Beautiful Soup, inserting a node?

2005-12-02 Thread Kent Johnson
Bob Tanner wrote: > Kent Johnson wrote: > > >>>Is there a way to insert a node with Beautiful Soup? >> >>BS doesn't really seem to be set up to support this. The Tags in a soup >>are kept in a linked > > > What would the appropriate technology to use? Fredrik Lundh's elementtidy uses the Tidy

Re: [Tutor] Beautiful Soup, inserting a node?

2005-12-02 Thread Bob Tanner
Kent Johnson wrote: >> Is there a way to insert a node with Beautiful Soup? > > BS doesn't really seem to be set up to support this. The Tags in a soup > are kept in a linked What would the appropriate technology to use? I tried the xml modules, but they fail on the parsing of the html. -- B

Re: [Tutor] Beautiful Soup, inserting a node?

2005-12-01 Thread Kent Johnson
Bob Tanner wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Is there a way to insert a node with Beautiful Soup? BS doesn't really seem to be set up to support this. The Tags in a soup are kept in a linked list by their next attribute so you will have to find the right Tag, break t

[Tutor] Beautiful Soup, inserting a node?

2005-11-28 Thread Bob Tanner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is there a way to insert a node with Beautiful Soup? I found away to append "things". But Blah Foo! I'd like to insert a tag, like this: Blah Foo! - -- Bob Tanner <[EMA