[oXygen-user] Find/Replace in Files: unable to find pretty-printed word combinations

Sorin Ristache sorin at sync.ro
Tue Jul 31 05:47:58 CDT 2012


Hi,

Please check all the values in the Find/Replace in Files dialog box: 
scope should be "Current DITA map hierarchy", file filter should be 
*.dita (or *.xml), etc. If all values are correct in the dialog box 
please send a sample DITA topic file that should be found by the find 
action but is not found and also specify the search string that you used.


Regards,
Sorin


Yves Barbion wrote:
> Hi Sorin
> 
> Thank you for your prompt reply, but I'm afraid we're not quite there 
> yet. When I search for "time(\s+)zone" (without the quotes), oXygen does 
> not find it. A similar example is this:
> 
>      <p status="changed">The body of the <keyword
>                     
> conref="_conref_library.xml#topic_qjt_sdx_1f/keyword_wms_s2x_1f"/> 
> consists of
>                 the following zones:</p>
> 
> When I search for "consists of(\s+)the following" or 
> "consists(\s+)of(\s+)the(\s+)following" with the Regular Expression 
> option selected, oXygen will only find the occurrences where there is 
> only a single space between the words.
> 
> Any other ideas?
> 
> Thanks.
> 
> Yves
> 
> 
> On Tue, Jul 31, 2012 at 11:05 AM, Sorin Ristache <sorin at sync.ro 
> <mailto:sorin at sync.ro>> wrote:
> 
>     Hi,
> 
>     Yes, there is a simple way: look for "time(\s+)zones" and select the
>     Regular Expression checkbox in the Find/Replace dialog box.
> 
> 
>     Regards,
>     Sorin
> 
> 
>     Yves Barbion wrote:
> 
>         Hi group
> 
>         I'm using Find/Replace in Files in oXygen XML Editor 13 to
>         quickly find a word in all DITA topics referenced in a DITA map.
>         Sometimes, however, I see that a given word combination cannot
>         be found, even though I'm sure that the word combination is used
>         in one of my topics. When I open the topic and look at the text
>         in plain text view, I see that the word combination is split by
>         a line break because the text is indented ("pretty print"), for
>         example:
> 
>         <title><keyword
>         conref="_conref_library.xml#__topic_qjt_sdx_1f/keyword_wms___s2x_1f"/>
>         time
>                   zones</title>
> 
> 
>         When I look for "time zones" using Find/Replace in Files, oXygen
>         cannot find it. Is there a simple way to fix this?
> 
> 
>         Thanks.
> 
>         -- 
>         Yves Barbion
>         www.scripto.nu <http://www.scripto.nu> <http://www.scripto.nu>
> 
> 
>         ------------------------------__------------------------------__------------
> 
>         _________________________________________________
>         oXygen-user mailing list
>         oXygen-user at oxygenxml.com <mailto:oXygen-user at oxygenxml.com>
>         http://www.oxygenxml.com/__mailman/listinfo/oxygen-user
>         <http://www.oxygenxml.com/mailman/listinfo/oxygen-user>
> 
> 
> 
> 
> -- 
> Yves Barbion
> www.scripto.nu <http://www.scripto.nu>


More information about the oXygen-user mailing list