I am converting a HL7 msg to xml and one of the field is as below -
DTL = <assign value='"Message"' property='target.{req.ID.scope}' action='set' />
DTL response = <ID scope='Message'>3</ID>
my xsd has -
<xsd:element name="ID">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="SimpleContent" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="scope"/>
</xsd:complexType>
</xsd:element>