Skip to main content
13-Aquamarine
July 1, 2014
Solved

Create a new document from an XML fragment with ACL

  • July 1, 2014
  • 1 reply
  • 1097 views

Hello,

With the Arbortext Commands Language , how to create a new document (free-form xml) from an XML fragment. The XML fragment is copied from another file.

In the same way, how to do it using javascript or java?

Kind regards

David

    Best answer by TimPhelps

    Is the XML fragment a file entity created by Arbortext Editor, or another fragment type?

    If you open the fragment in Arbortext Editor and use from the Command: line

    edit -current -untagged

    and then

    1) Remove the fragment comment

    2) Save the document

    Does this meet your need?

    If so, then it should not be too hard to script this in Java, Javascript or ACL.

    Anyone have a suggestion for this issue?

    1 reply

    TimPhelps12-AmethystAnswer
    12-Amethyst
    November 3, 2014

    Is the XML fragment a file entity created by Arbortext Editor, or another fragment type?

    If you open the fragment in Arbortext Editor and use from the Command: line

    edit -current -untagged

    and then

    1) Remove the fragment comment

    2) Save the document

    Does this meet your need?

    If so, then it should not be too hard to script this in Java, Javascript or ACL.

    Anyone have a suggestion for this issue?