Ask your own question, for FREE!
Computer Science 17 Online
OpenStudy (anonymous):

How can you define an xsd element that can contain any number of properties with any name, any number of child elements with any name and text? Is it just a matter of defining the following?

OpenStudy (anonymous):

I found the answer: You define the element as shown below: <xs:element name="foo" type="fooType"/> And then the type: <xs:complexType name="fooType" mixed="true"> <xs:choice maxOccurs="unbounded"> <xs:any namespace="##any" processContents="skip" minOccurs="0" maxOccurs="unbounded"/> </xs:choice> <xs:anyAttribute namespace="##any" processContents="skip"/> </xs:complexType>

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!