How to separate HCl and NaOH from an aqueous solution of NaCl? At home I make experiments on salt (as it is easily available at home). 
One day I came to know that on mixing salt and water I will get Hydrochloric Acid and Sodium Hydroxide. So I became really excited, but my excitement broke into small pieces because I don't know how to separate $\ce{HCl}$ and $\ce{NaOH}$ from the solution of $\ce{NaCl}$ and water.
The solution can be electrolyzed to produce chlorine and sodium hydroxide solution.  The chlorine can be added to water to produce HCl and HOCl.