Two different ways of specifying complex types one is


1. Segment by demographic

Input message: Customer Demographic

Output message: Demographic Group

2. Segment by purchase behaviour

Input message: Customer Purchase Behaviour

Output message: Behavioural Group

3. Segment by social data

Input message: Customer Social Data

Output message: Social Data Group

For the above input/output messages, write their XML Schemas. You need to include the following:

  • Two different ways of specifying complex types, one is defined inside the element, the other is defining a complex type first, then (re-)use it as a type of an element;
  • Use constraints on the values of a simple typed element, on the occurrence of elements;
  • Pick up one xml schema, construct an xml document

What is included in the complex types

CustomerInfoType: CustomerID, name, gender, address, phone, email

DemographicInfoType: Age, Race, Education, Occupation, Income

BehaviourInfoType: Price sensitivity, past purchases, Product involvement level, consumer needs

SocialDataType: Interests, Friends, Following, Relationship status

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Two different ways of specifying complex types one is
Reference No:- TGS01711193

Expected delivery within 24 Hours