Reply to: customized templateJanuary 23, 2014 at 7:51 pm
I think you may be misunderstanding the role of templates in XMetaL Author. With XMetaL Author, adding something to its templates has no bearing on whether a document is valid or not, the DTD is used to determine XML validity. The template is just a starting point for the creation of new documents.
So yes, you could add a volume attribute to elements in an XML template that references the DITA concept DTD but then all of the new documents you create based on this template would be invalid. These new documents would still be validated against the concept DTD, which does not allow a volume attribute on any element (and it does not allow for a volume element either).
If you really need this attribute (or element) to be in your DITA documents you should specialize the DITA DTDs, probably basing your specialized concept on the standard DITA concept DTD. http://docs.oasis-open.org/dita/v1.2/os/spec/archSpec/specialize.html
Once you have a specialized DTD you will need to configure XMetaL Author Enterprise to use it. This is described in the XMetaL Author Enterprise documentation under the help topic Working with DITA > DITA specializations.
I think there may be some additional confusion on your side. In your latest response you mention a volume attribute whereas initially you were discussing a volume element (and included an XML sample showing a volume element). As I said previously, there is a volume element defined for the DITA bookmap document type, but that is the only document type that has this element. There are no DITA document types that define a volume attribute for any element. I'm not sure what level you are at with your understanding of XML or DITA, so I'm not sure if what I've said above will really help. Hopefully it does, but if not I would recommend reading up on those two things as you will need to have a pretty good understanding of both XML and DITA to create a specialized DITA DTD.