Home Forums DITA and XMetaL Discussion conref and mandatory attributes Reply To: conref and mandatory attributes

Derek Read

Reply to: conref and mandatory attributes

Any attribute (or element) that is required by the DTD (and therefore the XML Recommendation) must be in the document otherwise the document is considered invalid and XMetaL Author (and any other validating XML parser) will notify you via a validation error.

In this case I suspect you will need to use the value “-dita-use-conref-target”. That will allow it to pass the basic XML validation test against the DTD, and it should cause tools like the DITA OT or whatever else you are using to pull in the value specified in the target (using the rules defined by the DITA specs).

See: http://docs.oasis-open.org/dita/v1.1/OS/langspec/common/ditauseconreftarget.html

Reply

Products
Downloads
Support