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

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Ddelete empty elements in arbortext editor

bfriesen
15-Moonstone

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

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