DITA and XMetaL Discussion
mtbowers July 11, 2011 at 8:08 pm
.DITA vs .XMLJuly 11, 2011 at 8:08 pmParticipants 0Replies 1Last Activity 11 years, 7 months ago
Is there a benefit of saving in one format or the other? Our company has historically saved in the .DITA format; however, I'm not sure why this was initially adopted over .XML. Insight into either format would be appreciated. Thanks!Derek Read July 11, 2011 at 9:04 pm
Reply to: .DITA vs .XMLJuly 11, 2011 at 9:04 pm
If you are working with DITA documents then you can use either extension and it should not make a difference (in theory you can use any other extension you like as well). When you save from XMetaL Author Enterprise the content of the file is not altered when you choose one file extension over the other (the file is still XML and if you were authoring a DITA document it will also be DITA). The file extension in this case is merely a personal choice. However, depending on which tools you are using to author and process these files you might wish to select one extension over the other.
Essentially I'm discussing the difference between XML “in general” versus an “application of XML” (in this case DITA).
Many different types of documents other than DITA also follow the XML Recommendation and are therefore also XML files. These document types are sometimes given the extension .xml in file names (including DocBook, S1000D, TEI, XHTML, and many others).
Some people opt to use .dita when working with DITA documents because it allows these file types to be easily differentiated from any other XML documents they might have lying around. Many programs use XML for storing data (and not documents) and so performing a simple search for file names with the extension .xml on your local machine might turn up various files that are being used to store software settings, data or other information that is of no interest to you. If this might be a problem the easiest way to avoid finding these other files is to store yours in a well-known location (folder), but giving them a different file extension can also help.
Some people also choose to give their DITA map files a special file extension (.ditamap) in order to differentiate them further from their DITA topic files.
Note that when a CMS system is being used in conjunction with XMetaL Author Enterprise the CMS might dictate file naming conventions.
- You must be logged in to reply to this topic.