cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Create a new document from an XML fragment with ACL

dgopois
12-Amethyst

Create a new document from an XML fragment with ACL

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

1 ACCEPTED SOLUTION

Accepted Solutions

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?

View solution in original post

1 REPLY 1

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?

Top Tags