posted 18 years ago
I am building a schema for a properties file. I want to add a name attribute, but I am not sure how.
It's defined like this in the .xsd...
<xsd:complexType name="coldef" id="coldef">
<xsd:sequence>
<xsd:element name="iosource" id="iosource" type="xsd:string"/>
<xsd:element name="iotarget" id="iotarget" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
I want it to appear like this in the XML...
<coldef>
<iosource tablename="">1</iosource>
<iotarget tablename="Customer">ssn</iotarget>
</coldef>