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

Ddelete empty elements in arbortext editor

SOLVED
Level 11

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

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Ddelete empty elements in arbortext editor

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!"

 

 

1 REPLY

Re: Ddelete empty elements in arbortext editor

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!"