General XMetaL Discussion
XMetaL Community Forum › General XMetaL Discussion › XMetaL Developer examples?
queshaw March 15, 2019 at 5:27 pm
XMetaL Developer examples?March 15, 2019 at 5:27 pmParticipants 3Replies 4Last Activity 4 years ago
Are there any example solutions for XMetaL Developer (that would apply to 12.0)?
KendallDerek Read March 15, 2019 at 9:47 pm
Reply to: XMetaL Developer examples?March 15, 2019 at 9:47 pm
Yes, XMetaL Developer includes a document-level customization called “MiniJournalist” which is a simple DTD and basic CSS, CTM files. Is that the kind of example you are looking for?
XMetaL Author itself includes three sample document-level customizations: Journalist, Meeting Minutes, and Docbook.
The Journalist sample uses a proprietary DTD created around the time DocBook for XML was being initially designed so it looks similar to some degree but it is just meant for demonstration. This customization shows off a large number of APIs through macros, includes some XFT forms, custom toolbars and menus. An XSD version of the DTD is also provided that uses all the same customization files but the XSD for validation and to drive the Element List and Attribute Inspector.
The Meeting Minutes sample is a really strange use for the software but it shows off some interesting functionality, including how to interact with a database.
The Docbook sample uses the 5.0 version of the Docbook standard DTDs. It is just a sample but could be used to build a more robust authoring environment for that schema. It shows off a bunch of APIs similar to the Journalist sample, exposed in this case via the Docbook menu (which itself is added to show how menus can be customized) and includes a demo of XInclude, and functionality for displaying the same document using different CSS styling.queshaw March 17, 2019 at 9:35 pm
Reply to: XMetaL Developer examples?March 17, 2019 at 9:35 pm
That sounds like what I'm looking for. But, I haven't found it among the files installed with XMetaL Developer 12.0. There is no Samples directory below c:Program Files (x86)XMetaL 12.0Developer. Is there a way to get the sample?Derek Read March 18, 2019 at 7:23 pm
Reply to: XMetaL Developer examples?March 18, 2019 at 7:23 pm
The developer samples should be listed in the Windows Start menu under an item named XMetaL.
The samples included with XMetaL Author are listed in it's Help menu under Samples, but these simply open an XML sample document that uses those customizations. The actual customization files are installed in the XMetaL Author installation itself.
- You must be logged in to reply to this topic.