Question: what is idref in xml?
Answer: The ID and IDREF types are complementary. The XML ID mechanism is intended to give document authors a way to uniquely identify elements within a document. The IDREF attribute type indicates that the attribute can contain only a value that matches an ID value within the same document.