Unique N doped Sn3O4 nanosheets as an efficient and stable photocatalyst for hydrogen generation under sunlight.