[xsl] Is the following xml file a vlid xml file ?

Subject: [xsl] Is the following xml file a vlid xml file ?
From: "Mathieu Malaterre" <mathieu.malaterre@xxxxxxxxx>
Date: Thu, 27 Sep 2007 10:42:22 +0200
Hi again,

  I was recently told my output xml file is not a valid xml.

Input file was produced by OpenOffice.org 2.0 (save as docbook):

xsl transformation is:
[I know the code is far from perfect and I'll try to make it cleaner
in the near future]

Transformation is:

 $ java -jar saxon8.jar 07_03pu-newline2.xml oo2.xsl > tmp.xml
 $ xmllint --format tmp.xml > ModuleAttributes.xml

and output can be found here:


The default xsl embeded in this xml (ma2html.xsl) is a html
transformation so that my users can easily read the information
contained in this file. They simply point there browser to:


  Anyway my question is this: Is ModuleAttributes.xml a valid xml or
not ? If not please guide on how to fix it.



Current Thread