Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    1 line code while wanting multiple lines

    Help wanted · · · – – – · · ·
    2
    4
    4436
    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 D
      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 Frank 1 Reply Last reply Reply Quote 1
      • Claudia Frank
        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 D
          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 Frank 1 Reply Last reply Reply Quote 1
          • Claudia Frank
            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
            • First post
              Last post
            Copyright © 2014 NodeBB Forums | Contributors