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

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Translate the entire conversation 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