F
fulvio.risso
Hello guys.
I would like to use the following two types of elements in my XML file:
<field type="fixed" size="10"/>
<field type="variable" expr="a+b"/>
The problem is that I cannot find a way to define the proper XML
schema. The problem is that I would like to define an element
("<field>") which may have different syntax according to the value of
one of its attribute. It seems to me that a solution is to use
"xsi:type=..." in the XML file, but I don't want to do that.
Does anybody have a solution for this (maybe stupid) problem?
Cheers,
fulvio
I would like to use the following two types of elements in my XML file:
<field type="fixed" size="10"/>
<field type="variable" expr="a+b"/>
The problem is that I cannot find a way to define the proper XML
schema. The problem is that I would like to define an element
("<field>") which may have different syntax according to the value of
one of its attribute. It seems to me that a solution is to use
"xsi:type=..." in the XML file, but I don't want to do that.
Does anybody have a solution for this (maybe stupid) problem?
Cheers,
fulvio