Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE topic PUBLIC "-//COMPANY//DTD myCustom DITA Topic//EN" "myCustomTopic.dtd">
<topic id="${customUUID}" format="dita" type="topic">
<title></title>
<body></body>
</topic>
Attribute "type" is not allowed to appear in element "topic".
Attribute "format" is not allowed to appear in element "topic".
We want to allow these 2 attributes to be included when we create a topic and don not show any error messages to the user.
would you please help us how to achieve this?
Thanks,
vishwa