AfrikaansDeutschEspañolFrançaisKiswahiliSerbo-Croatian简体中文
'bridging cultures & improving education through better dictionaries & terminology ...'
[Jan 2018] Version 2018 Now Available for TLex Suite, tlTerm, tlCorpus, tlDatabase (See What's New ») All existing users get automatic free upgrades to the latest version.
TLex is 16 years old this year - thank you to all our customers/users who have supported us so far.
[Mar 2018] Easter Update released with more new features! 🎥 VIDEO: WHAT'S NEW »
[Feb 2018] ❤ Valentine's Day Update released with many new features for tlTerm Terminology Software, TLex Lexicography Software, tlCorpus/tlDatabase etc. »
[Jul 2017] Volume discounts available for TLex, tlTerm, tlCorpus and tlDatabase »
🎥 Watch TLex/tlTerm development on our (very) informal live-streaming channel » (Also on: Twitch, LiveEdu)
Member of TermNET · EuralexEuralex 2018 Sponsor »

Knowledge Base : TshwaneDJe Software

The TshwaneDJe Knowledge Base contains a small collection of technical articles with information on specific issues to assist you with the configuration or use of our software. You can search through the Knowledge Base using the search box below, or by browsing the list of articles. We will continually be adding new articles over time. If you don't find a solution here, please also try the FAQ or other support resources.

Search for:

Remove Empty PCDATA 'Text' Nodes From a Document

The method outlined below basically uses an F3 search to find empty text nodes, applies the search 'as a filter', then applies a 'filter action' of 'delete node' to all nodes that match the search filter. (Please note that as of writing (2014-05) this procedure is not currently safe to run on ODBC databases, as the 'Filter element actions' are not yet ODBC-safe.)


• NB: Before starting, make sure you save an extra backup copy of your database/document
• Go to Search (F3)
• Enter "^$" as the search text (without quotes)
• Tick the 'Regular expression' option
• Click the F3 'Fields' button to pop out the list of fields
• Click the 'Clear all' button to untick all fields in the list of fields
• Tick (only) the "[text]" checkbox in the list of fields
• Click the "Search" button to perform the search (the search results window should now show some matches)
• Click 'Filter +' in the search results window to apply the search 'as a filter'
• Go to Filter (F5)
• Click the "Advanced" button
• Select the 'Filter element actions' sub-menu
• Select the sub-menu item 'Delete all matching elements/nodes'
• Double-check that the correct thing has happened (TIP: a handy way to do this is to use 'File/Compare merge' and compare the document against the same as-yet-unsaved document to see what changes have occurred.)
« Back to List of Knowledge Base Articles

 

Quick-Help

The quick-help below shows you how to construct advanced search queries on the Knowledge Base.

Advanced Search Quick-help:
SymbolFunctionalityExample
&ANDwindows & odbc
|ORwindows | odbc
"..."Exact phrase"cover flow"
_Single-character wildcardlinu_
%Multi-character wildcardactivat%
/(1-9)Within x words of one another, given order"windows odbc"/8
@(1-9)Within x words of one another, any order"windows odbc"@8
#XOR (find one or the other, but not both)mac # windows
^None of ...^mac


The Knowledge Base was created with TLex, and is published online and updated using the TLex Online Publishing System