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).
\lstinputlisting[language=Xml]{Files/Myfile.xml}
Could someone please tell me how I can make LaTeX treat that file as an XML and show properly?
Xml
andXML
works similar.\lstinputlisting
will give you an error referring to mathematical symbols, which can be confused. The real error are those characters.