Home › Forums › General XMetaL Discussion › Treat as type › Reply To: Treat as type
Reply to: Treat as typeOctober 8, 2010 at 5:51 pm
It is possible but if you don't use XMetaL Developer for this then you kind of need to figure out the settings based on other information as we have not officially documented how to do this. It should be possible to do it given the following information:
The CTM file is an XML file.
All of the demos we include (Journalist, DocBook, Meeting Minutes) include a CTM file, as do all customizations (it is a mandatory file that will be autogenerated if not present) so you can have a look at those.
The Customization Guide includes information on the CTM file, though it is written assuming you will use XMetaL Developer to create and modify it.
You may find information in an outdated document called “[url=http://na.justsystems.com/tutorials/customizing_xmetal_manually.html]Customizing XMetaL Manually[/url]”. This is not part of our official documentation but it does include some information on the Treat As property.
XMetaL Author includes a DTD for the CTM file if you want to validate it (but it does not include a customization for editing it). You can simply open the CTM file in XMetaL Author to do that.