- content.setAttribute('image-type', type ? type : 'jpeg');
- content.setAttribute('name', name);
- content.setAttribute('type', 'GOPixbuf');
- content.setAttribute('width', width);
- content.setAttribute('height', height);
+ goimage.setAttribute('image-type', type ? type : 'jpeg');
+ goimage.setAttribute('name', name);
+ goimage.setAttribute('type', 'GOPixbuf');
+ goimage.setAttribute('width', width);
+ goimage.setAttribute('height', height);
+ goimage.textContent = data;