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

Ddelete empty elements in arbortext editor

bfriesen
18-Opal

Ddelete empty elements in arbortext editor

Is there a way that I can search for a specific empty element and delete it from multiple locations? My thought was to open a rde and do it from there but when I search for the element it finds the ones that have content also?

 

Thanks

 

Bryon

ACCEPTED SOLUTION

Accepted Solutions

To delete an empty element in the document open in Arbortext Editor, position the cursor at the very beginning of the document and enter the following at the command line:

 

while ($status==0) {find -t -nows '<elementname></elementname>';delete_mark;}

 

This is ACL (Arbortext Command Language), which is fully documented in online Help.

 

Suzanne Napoleon

www.FOSIexpert.com

"WYSIWYG is last-century technology!"

 

 

View solution in original post

1 REPLY 1

To delete an empty element in the document open in Arbortext Editor, position the cursor at the very beginning of the document and enter the following at the command line:

 

while ($status==0) {find -t -nows '<elementname></elementname>';delete_mark;}

 

This is ACL (Arbortext Command Language), which is fully documented in online Help.

 

Suzanne Napoleon

www.FOSIexpert.com

"WYSIWYG is last-century technology!"

 

 

Announcements

Top Tags