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?
FYI, I am using
Win Xp-SP2, CS5 7.0.3