I am using LaTeX for very first time and have very basic knowledge about it. I am using the template from here to write my thesis. I am using Ubuntu 12.04.
When I try to include a small XML file in LaTeX with the following code, it shows the file just in one line (I am not able to see the full file in line though). But I want it to be displayed as a typical XML file (showing hierarchy).
Could someone please tell me how I can make LaTeX treat that file as an XML and show properly?
\lstinputlistingwill give you an error referring to mathematical symbols, which can be confused. The real error are those characters.