0 Replies Latest reply on Dec 29, 2010 11:57 PM by kumar1981

    [CS3][JS] Hide XML tags

    kumar1981

      Hi,

       

          I want to hide all XML tags except root element in the structure view. I have used the following code,but it doesn't work. Instead it shows all the tags in a structure.

       

      var myDocument = app.documents[0];
      var myXMLViewPreferences = myDocument.xmlViewPreferences;
      myXMLViewPreferences.showStructure =true;
      myXMLViewPreferences.showTagMarkers = false;

       

       

       

      Is there any other option? Please suggest me.

       

       

      Regards

      Senthil Kumar V