3 Replies Latest reply on Aug 12, 2008 2:02 PM by (Olav_Kvern)

    [CS3 JS WIN] Get XML Element of paragraph?

      Im trying to get the xml element of a selected paragraph.<br />ie:<br /><br /><item><br /><text><br /><code> This is some code </code>   <--this is selected in indesign<br /></text><br /></item><br /><br />When I try to use associatedXMLElements[0].xmlElements - it returns all different elements(item,text,code,etc) how do I get it to return the immediate XML Element?