1 Reply Latest reply on Jul 17, 2014 12:07 AM by Eyenan.

    XML Attributes

    BEGINNER_X Level 3

      Hi All,


      New to XML workflow, just for learning only.


      How can we get the values by using xml attributes.


      Got error by using "//emphasis[@aid:cstyle = ITAL]"


      Now the myXMLItal.length comes 0.


      Coding is below:


      var myXMLItal = app.activeDocument.xmlElements[0].evaluateXPathExpression("//emphasis[@aid:cstyle = ITAL]")







      Screen Shot 2014-07-17 at 12.10.03 PM.png


      Thanks in advance