by Clemente López.
Yes, at the moment, works.
I opened the questions.xml file, and I edited it.
First, I checked that only exists one root element in the xml (question_categories). Inside question_categories there are a lot of question_category elements (each one with a different id). Each question category have several elements, but in my case, I must change the element contextid, I seach for all the contextid, checking if are unique or not. If the contextid value was repeated, I changed it for another (numeric value).
After change the xml file, I rebuilded the mbz and works.
I think if was a bigger xml, I would do some script with xpath to change it, but in my case, wasn't necessary.
I opened the questions.xml file, and I edited it.
First, I checked that only exists one root element in the xml (question_categories). Inside question_categories there are a lot of question_category elements (each one with a different id). Each question category have several elements, but in my case, I must change the element contextid, I seach for all the contextid, checking if are unique or not. If the contextid value was repeated, I changed it for another (numeric value).
After change the xml file, I rebuilded the mbz and works.
I think if was a bigger xml, I would do some script with xpath to change it, but in my case, wasn't necessary.