MCQs > IT & Programming > XML > What type of restriction is exhibited by the following XSD code snippet?

XML MCQs

What type of restriction is exhibited by the following XSD code snippet?
<xs:element name="character">
        <xs:simpleType>
             <xs:restriction base="xs:string">
                     <xs:pattern value="[a-z]"/>
             </xs:restriction>
         </xs:simpleType>
</xs:element>


Answer

Correct Answer: The character element accepts only ONE of the LOWERCASE letters from a to z.

Explanation:

Note: This Question is unanswered, help us to find answer for this one

XML Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

XML Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it