Infrastructure Map Server Forum
Welcome to Autodesk’s Infrastructure Map Server Forums. Share your knowledge, ask questions, and explore popular Infrastructure Map Server topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

changing value of symbole library

0 REPLIES 0
Reply
Message 1 of 1
Anonymous
580 Views, 0 Replies

changing value of symbole library

hi,i developping a site web with asp.net 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");
          EmpXMLDoc2.Load(XMLDocPath2);
          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";

              
                  EmpXMLDoc2.Save(Server.MapPath("symbole.LayerDefinition.XML"));
             
          }
          string xml3 = String.Format(GetTemplate("symbole.LayerDefinition.xml"), nom);

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

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report