Community
    • Login

    How to select categories in a product xml

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    5 Posts 2 Posters 288 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Shopi TudeS
      Shopi Tude
      last edited by

      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

      Alan KilbornA 1 Reply Last reply Reply Quote 1
      • Alan KilbornA
        Alan Kilborn @Shopi Tude
        last edited by

        @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.

        Shopi TudeS 1 Reply Last reply Reply Quote 0
        • Shopi TudeS
          Shopi Tude @Alan Kilborn
          last edited by

          @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.

          Alan KilbornA 1 Reply Last reply Reply Quote 1
          • Alan KilbornA
            Alan Kilborn @Shopi Tude
            last edited by

            @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!

            Shopi TudeS 1 Reply Last reply Reply Quote 0
            • Shopi TudeS
              Shopi Tude @Alan Kilborn
              last edited by

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

              1 Reply Last reply Reply Quote 1
              • First post
                Last post
              The Community of users of the Notepad++ text editor.
              Powered by NodeBB | Contributors