HowToAddAFormat
From OOModels
Revision as of 19:52, 10 July 2008 by AndreasLeue (talk | contribs)
- Become familiar with editing wiki pages in general. If you just want to try it out, you can do so in the OOModels:Sandbox.
- If you don't already have, create an account and login (Why do I need an account?).
- Let's assume your format is named MyFormat.
- Find a suitable namespace for the format. If it's your or your company's format, you might just want to use your reverse domain name. Let's assume that's 'com/example'. If you want to add or document a well known format (like UML) choose a domain name carefully, use official sites, xml schema URIs or alike as your guide.
- Create a wiki page named Type:com/example/MyType. You can do so by linking to this page with a wiki link, like here in this sentence. You can also just type the respective URL in your browser http://www.oomodels.org/wiki/index.php/Type:com/example/MyType (learn more about wiki page names)
- Now you can create a type from scratch, or you can just copy&paste the wiki code from an existing type page (e.g. Type:org/omg/UML) and adopt it to your needs.
- optionally create a variant subpage, and/or optionally create a version subpage (use existing examples for copy&paste)