GENERATION OF FINE-SCALE STRUCTURE IN THE SOLAR MAGNETIC FIELD