Which of the following XML fragments are well-formatted?
Correct Answer: <student><id value="123"/><phone value="123"/></student>
Explanation:
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
XML Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More XML MCQ Questions
Which symbol is allowed in naming an XML element?
Which XSL elements are valid?
Suppose you have the following XML code:- Giada De Laurentiis 2005 30.00 Erik T. Ray 2003 39.95 What will be the XPath to Selects all the title elements that have a 'lang' attribute with a value of 'en'?
How does a XML document store a new line?
How would you write a valid CDATA section?
What rules are present in XSDs but NOT in DTDs?
What is the error that a validating XML parser outputs if the XML document does NOT adhere to the content specific specification?
Which is NOT a schema language?
In an XML schema, to limit a user-defined type to a set of pre-defined options, you would use:
You can refine an external XSD schema inside of an XML file, as you can with a DTD.