dcm4che/dcm4che — pull request #15 by daniela-radu (2014-12-29 12:34:35+00:00)
Title: Minor fix

For the case of an empty CS value, it has been noticed that the `number` attribute gets allocated to the next tag. Not adding the attribute when the value is `null` seems to solve the problem.

For more details on this issue, take the case of a DICOM file containing the following two tags:
```
(0008,0008)	ImageType	DERIVED\SECONDARY\
(0008,0016)	SOPClassUID	1.2.840.10008.5.1.4.1.1.7
```
The xml conversion for these two is:
```xml

DERIVED
SECONDARY

1.2.840.10008.5.1.4.1.1.7

```
Please note the redundant `number="3"` associated to the SOPClassUid tag.