1 Reply Latest reply on Apr 27, 2011 4:24 AM by Green4ever

    [CS5 JS] Problem in Applying character styles xml tag names

    Green4ever Level 3

      Hi,

       

      e.g. 1
      <italic>This is a italic text with <sup>superscript value</sup></italic>
      e.g.2
      <sup>This is a superscript text with <bold>Bold superscript</bold></sup>
      

       

      <italic>  mapped to character style "italic" and

      <sup> mapped to character style "sup"

       

      In my java script I already mapped the xml tags to specific character styles. In some of the cases (see e.g.1 and e.g.2) I need to map it to other character styles.

      In e.g.1 I need to apply a new character styles "italicSup" for the text "superscript value" same way

      In e.g.2 I need to apply a new character styles "BoldSup" for the text "Bold superscript".

       

      Can any know how to do this?

       

      ----------

      Green4ever