Never store delimited data in XML.
That is to say, never have an element that contains a list of comma-separated values, or equals-sign-separated values, or anything like that. XML provides for you the mechanism to create lists and you should not reinvent that if you're planning on using it.
The "XML way" to store a list like you're talking about is like this:
<BlurType>
<option>Gaussian</option>
<option>Smart</option>
...
</BlurType>
Or, if you have a set of specific values that you can either turn on or off,
<BlurType>
<Gaussian>true</Gaussian>
<Smart>true</Smart>
...
</BlurType>
The second method can be validated against an XSD more strictly than the first. The first is more flexible. You don't want to be storing things like type=something
anywhere in XML. A middle ground between the two would work like this:
<BlurType>
<option name="Gaussian">true</option>
<option name="Smart">true</option>
...
</BlurType>
This offers flexibility and at the same time you can validate the values of the name
attribute and option
elements against an XSD or DTD.