Pages: 1
Print
Author Topic: XMetaL Developer examples?  (Read 676 times)
queshaw
Member

Posts: 10


« on: March 15, 2019, 11:27:22 AM »

Hi,

Are there any example solutions for XMetaL Developer (that would apply to 12.0)?

Kendall
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member

Posts: 2621



WWW
« Reply #1 on: March 15, 2019, 03:47:30 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.
« Last Edit: March 15, 2019, 04:06:51 PM by Derek Read » Logged
queshaw
Member

Posts: 10


« Reply #2 on: March 17, 2019, 03:35:33 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.0\Developer. Is there a way to get the sample?
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member

Posts: 2621



WWW
« Reply #3 on: March 18, 2019, 01:23:43 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.
Logged
queshaw
Member

Posts: 10


« Reply #4 on: March 18, 2019, 02:51:57 PM »

Ah. Thank you! I would not have thought to look there. The samples are in %programdata%\SoftQuad\Developer\Samples
Logged
Pages: 1
Print
Jump to: