What is the difference between IDREF and IDREFS in XSD?
I know they both reference the ID attribute, but what is the difference? When each one of them is used?
What is the difference between IDREF and IDREFS in XSD? I know they both
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
An attribute of type IDREF is a reference to some other element with an attribute of type ID.
An attribute of type IDREFS is a list of references to elements with ID attributes, separate by spaces.
An example:
You’re creating a family tree.
Each person has 2 parents, a mother and a father. This would be denoted by IDREFS like so:
with