The best course of action to achieve export of Adobe Illustrator graphics (.ai) to a XML based vector graphics (.svg) would be to use Adobe Illustrator, but there are more choice for ai to svg conversion. Nevertheless, not everyone has access to Illustrator, so if you don't, you will have to rely on some 3rd party alternatives, such as UniConverter or perhaps other vector graphics editors.
Open AI file Open SVG fileA vector-based drawing software
A universal vector graphics translator
A vector graphics converter for various Linux distributions