Home Forums General XMetaL Discussion Handling ID references in Xmetal Reply To: Handling ID references in Xmetal

Derek Read

Reply to: Handling ID references in Xmetal

I'm not sure what you are asking for exactly.

1. How to suppress the validation error in this case (ie: leave the document invalid but don't bug the user about it).
2. How to automatically hunt through a document for elements with missing id attribute values and somehow guess what those values should be set to.
3. Show a list of elements with idref attributes that do not have corresponding id values and help the user populate an id value on an element that would correspond. This might be implemented various ways (the part where the user is prompted for information anyway).
4. Something else entirely.

If you could describe what the behavior you need is someone might be able to help out.