Embed svg as xml

Hi,

I t to embed an .svg file as xml.

[Embed(source=“map.svg”)]
[Bindable]
public var imgCls:Class;

private function init():void{
var x:XML = imgCls.data as XML;
}

It gives me an error: unable to resolve ‘map.svg’ for transcoding.

Any idea?
Thx