How to select categories in a product xml



  • Hi,

    i need help to select only the categories in a product xml,

    example:
    <categorypath>Men > Clothing & Accessories > Clothing > Trousers & Jeans</categorypath>

    i use “find categorypath” then “find all i current doc”,
    this find all <categorypath> include dublicates, in a new window but it contains Line numbers

    example:
    Line 9999: <categorypath>Men > Clothing & Accessories > Clothing > Trousers & Jeans</categorypath>,

    so, when i try to “Remove dublicate lines” it prevent because of line numbers (Line 9999: ),

    how to clear <categorypath> from line numbers (Line 9999: ) to proceed “Remove dublicate lines” (“Remove dublicate<categorypath>”),

    Regards



  • @Shopi-Tude said in How to select categories in a product xml:

    so, when i try to “Remove dublicate lines” it prevent because of line numbers (Line 9999: ),

    It appears you are trying to execute the Remove Duplicate Lines command on the Search results window data?

    If so, then sorry, it doesn’t work this way.
    Remove Duplicate Lines only works on the main editing window data.



  • @Alan-Kilborn I use copy paste the search results in a new file, then i execute Remove Dublicate Lines,
    but it paste the Line numbers too.



  • @Shopi-Tude

    If you right-click in the Search results area and choose Copy Selected Line(s), you will not get line number data (and other search related info) in the data copied:

    49e20e64-bff9-404b-afba-329f1cde0ff8-image.png

    If your right-click to initiate that popup menu occurs on a line with “Search” on it (a line colored by default some shade of blue/purple), you don’t even have to make a selection, it will copy all lines of data from that specific search, again (stressing)…without the line numbers you so want to not have!



  • @Alan-Kilborn So simple! Alan thank you very much for your time and support.


Log in to reply