answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
MariettaO [177]
2 years ago
7

If you were building an XML Schema and wanted to limit the values allowed in an xs:string field to only those in a particular li

st, what XML tag would you use in your XML Schema definition?
Social Studies
2 answers:
Mamont248 [21]2 years ago
8 0

Answer and explanation:

After some research on this task, and if I was building an XML Schema and wanted to limit the values allowed in an xs:string field to only those in a particular list, I would use the enumeration constraint so that I get to limit the content of acceptable values.

Sav [38]2 years ago
7 0

Answer:

enumeration constraint.

Explanation:

Enumeration constraints is a definition term or tag in programming language, that is used in assigning values to variables in order to generate partial solutions, so as to remove from the constraint network the conflicting values that do not lead to any feasible solution.

For example: not xs:element or xs:sequence

Here, using enumeration constraints, to limit the content of an XML element to a set of acceptable values:

The example below defines an element called "music_genre" with a restriction. The only acceptable values are: Blues, Reggae, Country:

Hence:

Using not xs:element

<xs:element name="music_genre">

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:enumeration value="Blues"/>

<xs:enumeration value="Reggae"/>

<xs:enumeration value="Country"/>

</xs:restriction>

</xs:simpleType>

</xs:element>

You might be interested in
Shaunice has schizophrenia and shows many symptoms, including the belief that there is nothing wrong with her. this would be a:
anyanavicka [17]
Shaunice has schizophrenia and shows many symptoms, including the belief that there is nothing wrong with her. this would be a positive symptoms of schizophrenia. There are two types of symptoms of schizophrenia: positive symptoms and negative symptoms: Positive symptoms are things that people with schizophrenia do or experience that other people do not. 
8 0
2 years ago
Read 2 more answers
Which statement accurately analyzes how federalism has changed over time in the United States?
Nostrana [21]

States have come to depend more on federal funding and intervention in state affairs.

3 0
2 years ago
A herd of deer lives in a forest where they eat the leaves of trees. The number of energy storage molecules in the trees and in
Nuetrik [128]

Answer: The amount of carbon in the trees and the amount of carbon in the deer increases.

Explanation: If the number of energy storage molecules in the trees increased and in the deer as deer, then subsequently the amount of carbon will increase.

The trees prepare food and store it in the form of carbon and then the deer eats leaves of trees and also stores energy in the form of carbon.

So, if the number of energy storage molecules has increased in both trees and deer, the amount of carbon stored in it also increases.

3 0
2 years ago
Read 2 more answers
Which of the following statements about list copies is not true? When you make a
4vir4ik [10]

Answer: A

Explanation: Shallow Copy if the field to be copied is a primitive type, then the value is copied more if the field to be copied is a memory address (or an object itself), or the address is copied. Thus, if the address is changed by an object, the change will be reflected everywhere.

Deep Copy the data is copied in both situations. This approach is more loaded and slower.

7 0
2 years ago
Lenny, who is not yet three years old, says to his mother, "cereal in this bowl from here now." it is apparent that lenny has no
SpyIntel [72]
I believe the answer is: <span>syntax
</span>In English language, <span>syntax refers to the words arrangement that make a sentence considered 'well-formed' and could be understood.
For most children, the development of </span><span>syntax could only appear when they're 5 years old or older.</span>
5 0
2 years ago
Other questions:
  • Why did the carriages start to run in different directions?
    13·2 answers
  • Sofia has saved $10,000. She wants to be sure that she is earning interest on her money and can add to her savings. She also wan
    10·2 answers
  • When james visits conferences with colleagues, he sees others who lead by shaping the vision of the group and by developing trus
    7·1 answer
  • According to stalin, what must soviets do to defeat hitler?
    5·2 answers
  • Au-c 240 points to three conditions that enable fraud to occur. briefly describe each condition. how does one's propensity to ac
    13·1 answer
  • Study the map above. Who would object to negative externalities related to the use of renewable and nonrenewable resources in th
    10·2 answers
  • Dr. Greenhill wants to know how it is that some early adolescents come to make a connection between their personal life-style an
    5·1 answer
  • Delia has had a tough year. She is recently divorced and her last child just moved out.
    12·1 answer
  • 25. Dr. Roberts engages in basic research involving the construction and validation of tests designed to assess individual diffe
    13·1 answer
  • Count Dracula wanted to investigate the effect of removing a specific small part of the brain of a vampire bat to eliminate its
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!