Skip to main content
Known Participant
March 16, 2018
Question

Bug copy and paste complex XML Element CC2018.1

  • March 16, 2018
  • 1 reply
  • 395 views

Only from CC2018.1

The problem is highlighted by copying a complex XML TAG containing a nested structure of XML from one document to another.

Only SOME TAG are pasted, not all ... and the parent TAG is missing.

Both from programming and from interface

In the original doc copy record:111

In the destination document, pasting, only some TAG, lost parent TAG

Any workaround?

This topic has been closed for replies.

1 reply

Loic.Aigon
Legend
March 18, 2018

How do you approach the "copy/pasting" here ?

grg79Author
Known Participant
March 19, 2018

Original approach:

app.activeDocument = doc_1;

XMLTag_1.select() //Record:111

app.copy()

app.activeDocument = doc_2;

XMLRoot.select() //Root

app.paste()

Now I changed the programming method and used recursive function to re-create the XML structure ...

But copying and pasting would have been more convenient