Question
[CS3][JS] Apply XML tag for selected text
Hi
I need to apply XML tag to selected text in a tagged content.The XML tag is already applied for paragraph.I need to apply XML Tag for selected text in a paragraph.
I have used following code, it applies tag for entire paragraph,not a selected text in a paragraph.
app.selection[0].associatedXMLElements[0].markupTag=myDoc.xmlTags.item("italic");
Please suggest me.
Regards
kumar