0

Whenever i open my XML in browser its tag are always open in one line like if there is an empty tag shown as example below.

XML in Browser

but when i try to open same XML in notepad++ it shows me in this way mention below.

XML in Notepad++

Is there any way can i get my reason and action tag in one line in notepad++.

SHofNASH
  • 9
  • 1
  • 3
  • Ensure Menu => **View** => **Show symbol** => **Show all characters** is ticked, then edit the file as needed. – AdrianHHH Sep 29 '17 at 11:17

2 Answers2

1

Could be a auto-formatting in notepad++.

Try having a look at: Formatting code in Notepad++

Machigatta
  • 118
  • 10
  • This not the thing what i want. Please look into both images, How can i get tag in one line if it is empty. – SHofNASH Sep 29 '17 at 07:33
0

This is just the way that the web browser is interpreting the XML code, although you have a different format in Notepad++. This is totally normal, no need to worry - as long as there are no syntax errors.

heinkasner
  • 425
  • 5
  • 18