2 Replies Latest reply on Feb 13, 2008 9:12 AM by (Gary_Vidal)

    Get associated TextStyleRange of XmlElement

      Hello All,

      I am trying to retrieve the textStyleRange associated with an XMLElement in InCopy CS3. I am recursing the XML Tree to associate the characterStyle with the Xml Node Name. The key here is that I must recurse the XmlElements.

      I tried something like
      var xmlElement = xmlElementNode.xmlContent;

      but this returns a Text Object not the textStyleRange.
      How can I retrieve the textStyleRange associated with an element.