final OutputStream outputStream = new BufferedOutputStream(bundle.createEntry(styleFileState.getFileName(),
"text/xml"));
final DefaultTagDescription tagDescription = new DefaultTagDescription(
ClassicEngineBoot.getInstance().getGlobalConfig(), BundleXmlModule.TAG_DEF_PREFIX);
final XmlWriter writer = new XmlWriter(new OutputStreamWriter(outputStream, "UTF-8"), tagDescription, " ", "\n");
writer.writeXmlDeclaration("UTF-8");
final AttributeList rootAttributes = new AttributeList();
rootAttributes.addNamespaceDeclaration("", BundleNamespaces.STYLE);
rootAttributes.addNamespaceDeclaration("layout", BundleNamespaces.LAYOUT);
rootAttributes.addNamespaceDeclaration("core", AttributeNames.Core.NAMESPACE);