Subject: Re: [xsl] Is the following xml file a vlid xml file ? From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Thu, 27 Sep 2007 10:59:09 +0200 |
Hi again,
I was recently told my output xml file is not a valid xml.
What does xmllint do? Does it tamper with the output from saxon? Does it add spaces?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.
Cheers, -- Abel Braaksma
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Is the following xml file a v, Mathieu Malaterre | Thread | Re: [xsl] Is the following xml file, Abel Braaksma |
[xsl] Is the following xml file a v, Mathieu Malaterre | Date | Re: [xsl] Future of XSL Stylesheet , Eric Bréchemier |
Month |