Overview
Convert a DICOM file to an XML representation and optionally apply an XSL stylesheet to it. Values of attributes specified by -x <tag> are excluded from the generated XML. With -o <xmlfile>, the excluded values are stored into files named according the hex value <ggggeeee> of the attribute tag, into the same directory as the XML output. Files with extracted values of nested attributes are stored into sub-directories named according the sequence tag and the item number <ggggeeee>/<item#>/. Without -o <xmlfile>, but given -d <basedir>, excluded values are stored into files under specified <basedir>. If neither -o <xmlfile> nor -d <basedir> is specified, excluded values from the XML output are not stored.
Usage
Options
Example
Stores the XML representation of image.dcm to image.xml. The pixel data is excluded from the generated XML and extracted to file 7FE00010.