The result:
And now everything is working properly, I lost the center property but I don’t care.

If you want, you can use the \endhead, \endfoot and \endlastfoot for adding a line on the table with some text before break the line and at the begging of the new page on the continuation of the table, looks cool:

Using the package listings you can add non-formatted text as you would do with \begin{verbatim} but its main aim is to include the source code of any programming language within your document. Wikibooks

One of the problems of this package is the poor colored syntax with some programming languages, like XML or XSLT, trying language=XML and language=XSLT, the result was… bullshit poor, I prefere to use language=HTML because it has a minimal pretty syntax and I made some changes, the result: