Skip to main content
Known Participant
July 23, 2010
Question

Untag the text in xml

  • July 23, 2010
  • 1 reply
  • 522 views

Hai Friends...

                      How can untag the text with out using associatedXMLElements.

                         myText = app.selection[0];
                         myText.associatedXMLElements[0].untag();

                      By this way we can untag the content....

                      Is Any other way to untag()...

Thanks in Advance

Divya...

This topic has been closed for replies.

1 reply

Loic.Aigon
Legend
July 23, 2010

Looking through the dom, untag() is an unique method of a xmlElement. So it seems you have only one road to go :-\

Loic

Jongware
Community Expert
Community Expert
July 24, 2010

And the reason you don't like the untag function?