xml2dcm(1) OFFIS DCMTK xml2dcm(1) (NAME) xml2dcm - XML DICOM (SYNOPSIS) xml2dcm [options] xmlfile-in dcmfile-out (DESCRIPTION) xml2dcm XML ( ) DICOM . XML DTD ( ) dcm2xml.dtd . XML dcm2xml ( +Wb ). (PARAMETERS) xmlfile-in XML ("-" stdin) dcmfile-out DICOM ("-" stdout) (OPTIONS) (general options) -h --help --version --arguments -q --quiet -v --verbose -d --debug -ll --log-level [l]evel: string constant (fatal, error, warn, info, debug, trace) l -lc --log-config [f]ilename: string f (input options) : +f --read-meta-info () -f --ignore-meta-info (processing options) : +Vd --validate-document XML DTD +Vn --check-namespace XML (UIDs): +Ug --generate-new-uids Study/Series/SOP Instance UID -Uo --dont-overwrite-uids UID () +Uo --overwrite-uids UID (output options) : +F --write-file () -F --write-dataset +Fu --update-meta-info : +t= --write-xfer-same TS () +te --write-xfer-little TS VR little endian +tb --write-xfer-big TS VR big endian +ti --write-xfer-implicit TS VR little endian +td --write-xfer-deflated TS deflated VR little endian : -E --stop-on-error () +E --ignore-errors (VR) : +u --enable-new-vr VR (UN/UT) () -u --disable-new-vr VR OB : +g= --group-length-recalc () +g --group-length-create -g --group-length-remove : +e --length-explicit () -e --length-undefined ( --write-dataset): -p= --padding-retain ( --write-dataset) -p --padding-off ( --write-dataset) +p --padding-create [f]ile-pad [i]tem-pad: integer f i deflate ( --write-xfer-deflated): +cl --compression-level [l]evel: integer (: 6) 0= 1= 9= (NOTES) XML : 166 ... OFFIS_DCMTK_353 ISO_IR 100 ... 256\0\8 ... ... ... "file-format" "meta-header" DICOM . (Character Encoding) DICOM "0008,0005" (Specific Character Set) . ( iconv libxml --version ): ASCII (ISO_IR 6) (UTF-8) UTF-8 "ISO_IR 192" (UTF-8) ISO Latin 1 "ISO_IR 100" (ISO-8859-1) ISO Latin 2 "ISO_IR 101" (ISO-8859-2) ISO Latin 3 "ISO_IR 109" (ISO-8859-3) ISO Latin 4 "ISO_IR 110" (ISO-8859-4) ISO Latin 5 "ISO_IR 148" (ISO-8859-9) ISO Latin 9 "ISO_IR 203" (ISO-8859-15) Cyrillic "ISO_IR 144" (ISO-8859-5) Arabic "ISO_IR 127" (ISO-8859-6) Greek "ISO_IR 126" (ISO-8859-7) Hebrew "ISO_IR 138" (ISO-8859-8) ( "Specific Character Set" ). XML dcm2xml . (Binary Data) (*) "\" Base64 (binary="base64") . (binary="file"). : subdir/pixeldata.raw (as is) . OW little endian (swap) . Rows Columns . (*) OB OW VR OD OF OL OV << >> VR . (Compression) libxml zlib (xmlfile-in) ZIP . zlib --version . (Limitations) libxml XML . ( ) . xml2dcm DICOMDIR . offset . (LOGGING) . . --verbose . --debug . --log-level . --quiet . . "oflog" . ( ) syslog () event log () --log-config . . /logger.cfg . (COMMAND LINE) : (-) (-n) n . '+' '-' . ( ). . . '@' ( @command.txt). ( ). . / ( /dumppat.txt ). (ENVIRONMENT) xml2dcm DICOM DCMDICTPATH . DCMDICTPATH /dicom.dic ( ). DCMDICTPATH . DCMDICTPATH PATH (":") . (";") . DCMDICTPATH . . (FILES) /dcm2xml.dtd - (DTD) (SEE ALSO) dcm2xml(1) (COPYRIGHT) Copyright (C) 2003-2025 by OFFIS e.V., Escherweg 2, 26121 Oldenburg, Germany. Version 3.7.0 Thu Jul 9 2026 18:43:40 xml2dcm(1)