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

The community will undergo maintenance on October 16th at 10:00 PM PDT and will be unavailable for up to one hour.

Ddelete empty elements in arbortext editor

bfriesen
17-Peridot

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