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

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Create a new document from an XML fragment with ACL

dgopois
13-Aquamarine

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

ACCEPTED SOLUTION

Accepted Solutions
TimPhelps
12-Amethyst
(To:dgopois)

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
TimPhelps
12-Amethyst
(To:dgopois)

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?

Announcements

Top Tags