xsl-list
[Top] [All Lists]

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

2007-09-27 01:42:43
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>