Infrastructure Map Server Developer

Infrastructure Map Server Developer

Posts: 3
Registered: ‎06-10-2010
Message 1 of 1 (381 Views)

changing value of symbole library

381 Views, 0 Replies
06-17-2010 03:43 AM

hi,i developping a site web with and mapguide entreprise 2010 ,i could refreh my layer programetecly with DOM but i could'nt change the image of symbole library . could any body help me .


the code of modification layer is setting below :


      XmlDocument EmpXMLDoc2 = new XmlDocument();
       string XMLDocPath2 = Server.MapPath("symbole.LayerDefinition.XML");
          XmlNode node4;
          node4 = EmpXMLDoc2.DocumentElement;
          string h3 = null;
          string nom = "";
      int nbr=node4.ChildNodes.Count;
          foreach (XmlNode node2 in node4.ChildNodes)
//            Object xmlAddSymbolDoc;
// xmlAddSymbolDoc = Server.CreateObject("Microsoft.XMLDOM");
//xmlAddSymbolDoc..async = False

             // string hh = node2.ChildNodes[6].ChildNodes
              //XmlNodeList hk = node2.ChildNodes[6].ChildNodes;
             // string j = hk.Item(0).Name;
              //string hb = hk.Item(0).ChildNodes[2].ChildNodes[1].ChildNodes[0].ChildNodes[7].ChildNodes[1].Name;
             // hk.Item(0).ChildNodes[2].ChildNodes[1].ChildNodes[0].ChildNodes[7].ChildNodes[1].InnerText ="s14";

          string xml3 = String.Format(GetTemplate("symbole.LayerDefinition.xml"), nom);

         string h4 = SaveSessionResource("symboles.LayerDefinition", xml3, resourceService, sessionId);

Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.