[Dcmlib] Fwd: DICOM Data Dictionary as XML (XSL, XSL-FO)

Mathieu Malaterre mathieu.malaterre at gmail.com
Wed Jan 10 06:31:32 CET 2007



---------- Forwarded message ----------
From: Mathieu Malaterre
Date: 9 Jan 2007 21:28:26 -0800
Subject: DICOM Data Dictionary as XML (XSL, XSL-FO)
To:

Hello,

  I finally took the time to convert the old GDCM1 data dictionary to a
XML based one. You can now find it at:


http://gdcm.svn.sourceforge.net/viewvc/*checkout*/gdcm/Source/DataDictionary/GDCM2.xml

  Your web browser should handle XSL transformation to be able to
display this file (only tested with firefox).

I have also provided a couple more XSLT:

To transform back to text (GDCM1 type):
http://gdcm.svn.sourceforge.net/viewvc/*checkout*/gdcm/Source/DataDictionary/gdcm1.xsl

To transform to HTML (the one used for your wbe browser):
http://gdcm.svn.sourceforge.net/viewvc/*checkout*/gdcm/Source/DataDictionary/gdcm2html.xsl

To transform to David Clunie's dicom3tools (*):
http://gdcm.svn.sourceforge.net/viewvc/*checkout*/gdcm/Source/DataDictionary/dicom3tools.xsl

To transform the XML into PDF (using fop 0.20)
http://gdcm.svn.sourceforge.net/viewvc/*checkout*/gdcm/Source/DataDictionary/gdcm2pdf.xsl

I only tested with xsltproc:
xsltproc --version
Using libxml 20627, libxslt 10119 and libexslt 813
xsltproc was compiled against libxml 20627, libxslt 10119 and libexslt
813
libxslt 10119 was compiled against libxml 20627
libexslt 813 was compiled against libxml 20627


I hope this will help people. Feel free to send me comment if you
believe I am missing something or something is incorrect.

Mathieu
Ref:
* http://gdcm.sourceforge.net/wiki/index.php/Tools/xsltproc
* http://gdcm.sourceforge.net/wiki/index.php/Tools/fop

(*)
Well you still need to sed the \t of the original file into
whitespaces...




More information about the Dcmlib mailing list