Community
    • Login

    How to select categories in a product xml

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    5 Posts 2 Posters 683 Views 1 Watching
    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 Offline
      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 Offline
        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 Offline
          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 Offline
            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 Offline
              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

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post
              The Community of users of the Notepad++ text editor.
              Powered by NodeBB | Contributors