title: Illustrator add class to svg group
body: <p>i have searched from hours to find a solution to export a SVG with class on the group element. Is it possible this thing?</p>
  
  <p>I have found a program <a href="https://inkscape.org/en/" rel="nofollow noreferrer">inkscape</a> which can edit in XML mode and add the attribute. The problem is that inkscape insert too much garbage code to use in the web.</p>
  
  <p>Can it be done in illustrator or program in which the SVG stays with clean code.</p>
  
  <p><strong>Edit - 06.12.2015</strong></p>
  
  <p>For now there is not a good program solution, the best tool to do is <a href="https://inkscape.org/en/" rel="nofollow noreferrer">inkscape</a>.</p>
  
  <p>For this to work you need to use the <strong><em>XML ediotor</em></strong> in the program, so it is not very user friendly also it includes too much markup in SVG. </p>