throws IOException, BundleWriterException
{
final AttributeList attList = createMainAttributes(element, xmlWriter);
if (xmlWriter.isNamespaceDefined(SparklineModule.NAMESPACE) == false)
{
attList.addNamespaceDeclaration("spark", SparklineModule.NAMESPACE);
}
xmlWriter.writeTag(SparklineModule.NAMESPACE, "pie-spark", attList, XmlWriter.OPEN);
writeStyleInformation(xmlWriter, element.getStyle());
writeStyleExpressions(bundle, state, element, xmlWriter);
writeAttributeExpressions(bundle, state, element, xmlWriter);