the way to collect the 2 gasses would be to use a U shaped tube with water in it , put 1 electrode on one side the other on the other side , this way the 2 gasses dont mix.
i allways thought it was kind of cool how stuff like this happens in nature ..
clorine and sodium , both highly toxic , but put them together and you get salt , somthing all life needs
hydrogen and oxygen , o2 is needed for any fire and H burns really well , but together and you somthing that puts out fires ...
anyone else think of more like this?