[Tshwanelex-l] any way to automatically delete all empty nodes in entries?

Paweł Swoboda pawel.swoboda at gmail.com
Wed Nov 18 15:41:47 EST 2015

Yes, you can do this with Search & Replace Tool (Search across entry as
XML). You have to mark Regular expressions.
Type in the search field:
where Lang1 and Lang2 are languages of your termbase, e.g. (English|German).
Leave Replace field empty and click Replace all.

Optionally you can filter all entries with empty nodes (F5), and choose
additional option Use filters in S&R (this should make replacement faster)
This should work. Remember to backup your work before doing this.


2015-11-18 21:20 GMT+01:00 Michael Beijer <michael at beijer.uk>:

> Is there any way to automatically delete all empty nodes in an entry?
> After importing a CSV file, a bunch of empty nodes were added, which
> messed up the display of my dictionary somewhat. I can delete them all
> manually (in Tree View: right-click and select "Delete", or "Delete node
> only"), but was wondering if there is a way to do it automatically.
> I can find (and then tag) all entries with empty nodes via F3 search
> for: ^$
> Just need to know how I can delete only the empty nodes.
> Michael
> ******************************************************
> *MICHAEL BEIJER*Dutch-English translator
> Hastings, UK.
> Tel. +44 (0)1424 430250
> Mob. +44 (0)747 5771720
> Email: michael at beijer.uk
> Skype/Twitter: michaelbeijer
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__twitter.com_michaelbeijer&d=AwMFaQ&c=-dg2m7zWuuDZ0MUcV7Sdqw&r=ItmfqAWTMB_JGE6gPDIzr-HMYQqD-gooWwP1iBQ5uS8&m=ltkB8JhJySAduZBG6LPLxjUvQHN0Lx1FdeppUf3iR7U&s=PZ58EpriLikRLs7z3PnzyCO3ocCDVBuY65b-tN2p69U&e=>
> Beijer.uk
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__beijer.uk_&d=AwMFaQ&c=-dg2m7zWuuDZ0MUcV7Sdqw&r=ItmfqAWTMB_JGE6gPDIzr-HMYQqD-gooWwP1iBQ5uS8&m=ltkB8JhJySAduZBG6LPLxjUvQHN0Lx1FdeppUf3iR7U&s=XrlzQJ1sk0u_jcbTYkXSCBEz2J5_F7w1uHh4hbcVy5A&e=>
> (translation/terminology work)
> ******************************************************
> *<This email was dictated using Dragon Professional 14. Please excuse any
> typos!>*
> _______________________________________________
> Tshwanelex-l mailing list
> Tshwanelex-l at mailman.yale.edu
> http://mailman.yale.edu/mailman/listinfo/tshwanelex-l
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.yale.edu/pipermail/tshwanelex-l/attachments/20151118/731ed0c4/attachment.html 

More information about the Tshwanelex-l mailing list