This is an example how to read a plain text XML ﬁle in Mathematica, and display its content in a Mathematica Grid (table like).
I used an example XML I found on the net (ref ), which is a plain text ﬁle that contains some made up student information.
The ﬁrst step is to download the above ﬁle to some folder, then create the following Mathematica code
The above now displays the symbolic XML
Now we read all the ﬁelds, using Cases
Now put them in a grid
This is the result
Finally, the output is converted to Latex in the ﬂy, and compiled to HTML and pdf using tex4ht and pdﬂatex. Here is the result
This is the Mathematica code used to convert the table to Latex
That is all.