[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[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):
http://gdcm.svn.sourceforge.net/viewvc/gdcm/Sandbox/07_03pu-newline2.xml

xsl transformation is:
http://gdcm.svn.sourceforge.net/viewvc/gdcm/Sandbox/oo2.xsl
[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:

http://gdcm.svn.sourceforge.net/viewvc/gdcm/trunk/Source/InformationObjectDefinition/ModuleAttributes.xml

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:

http://gdcm.svn.sourceforge.net/viewvc/*checkout*/gdcm/trunk/Source/InformationObjectDefinition/ModuleAttributes.xml


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

Regards,

-- 
Mathieu


Current Thread
Keywords