Title: How to define generic element in xml schema?

Is there a way to define a generic element for the xml element like <TagName>value<</TagName>? 

I want to apply schema to the following situations:

<dependent>
        <attributes>
                <type>Checking</type>
                <amount>800.00</amount>
                <currency>USD</currency>
        </attributes>
</dependent>

where the tag names for the attributes may vary. The schema data type "any" seems to cover this.  But I am not sure if there is a better way to define this. 

Thanks in advance!

Liping Jiang
Euronet Worldwide
Phone: 913-327-4205
Fax: 913-327-1921

Reply via email to