Community
    • Login

    1 line code while wanting multiple lines

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 2 Posters 7.3k Views 2 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.
    • Emiel DE Offline
      Emiel D
      last edited by

      Whenever I transfer a Word.docx to a TEI XML-file, it transfers correctly. But when I open it with Notepad++ to edit the XML-file, I get the entire file onto 1 row. I want to see it in it’s original form. Only got this problem on my notebook, not on the desktop I often work on. But I can’t see the difference between the 2. Help?
      Emiel

      Claudia FrankC 1 Reply Last reply Reply Quote 1
      • Claudia FrankC Offline
        Claudia Frank @Emiel D
        last edited by

        @Emiel-D

        if you see only one line then it means that no eol (end of line) chars are available.
        You can use xml-tools->pretty print(xml only - with linebreaks) to reformat it but
        this means additional chars, the eol chars, will be added to the document. Not sure
        if this breaks something.

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • Emiel DE Offline
          Emiel D
          last edited by

          Do you have any idea why it would be working on my desktop and not on my notebook? When I transfer the file, exactly the same way as on my notebook, it does have the end of lines. Is this some sort of setting you got to apply?

          I already installed the XML-Tools, and for now it solves the deal. Thanks, Claudia!

          Claudia FrankC 1 Reply Last reply Reply Quote 1
          • Claudia FrankC Offline
            Claudia Frank @Emiel D
            last edited by

            @Emiel-D

            so you are saying you do the same on desktop pc and notebook and
            if you open the file with npp on desktop you see multiple lines but if
            you open it with npp on notebook you only have one line?
            That would be strange. Do you use the same plugins on both?
            Maybe one of it is corrupting the file - but to be honest,
            I don’t see how. XML Tools has a linarize function, could it be that it is executed
            when loading a xml file?

            And no, there is no npp setting which needs to be applied.

            Cheers
            Claudia

            1 Reply Last reply Reply Quote 0

            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