Create inline svg from svg file

Can I create inline svg from svg file but not image ?
var gGfx = svgCreate(‘image’, {
x: 0,
y: 0,
width: element.width,
height: element.height,
href: svgFileurl,
});