private void addFeatureLayerExtesions(IEnumerable<FeatureLayerExtension> featureLayerExtensions, XmlDocument doc, XmlElement layerElement)
{
XmlElement layer_extensions = doc.CreateElement("layer_extensions");
layerElement.AppendChild(layer_extensions);
foreach (var extension in featureLayerExtensions)
{
XmlElement extension_ellement = doc.CreateElement("layer_extension");
layer_extensions.AppendChild(extension_ellement);
addAttribute(doc, extension_ellement, "registration_name", extension.GetType().AssemblyQualifiedName);
extension.addToXml(extension_ellement);
}
}