11 Replies Latest reply on Jun 27, 2014 6:33 AM by schiuma24

    evaluateXPathExpression

    Mahesh_JW Level 1

      Hi All,

       

      var myDoc = app.activeDocument;

      var myRoot = myDoc.xmlElements[0];

      var myElms = myRoot.evaluateXPathExpression("//*[@aid:pstyle]");

      alert(myElms.length);

       

       

       

      length returns 0.

      how can i find all "aid:pstyle" tags

       

       

      Thanks in Advance

      Mahesh