General XMetaL Discussion

XMetaL Community Forum General XMetaL Discussion XMetaL Developer examples?

  • queshaw

    XMetaL Developer examples?

    Participants 3
    Replies 4
    Last Activity 3 years, 3 months ago

    Hi,

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

    Kendall

    Reply

    Derek Read

    Reply to: XMetaL Developer examples?

    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.

    Reply

    queshaw

    Reply to: XMetaL Developer examples?

    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?

    Reply

    Derek Read

    Reply to: XMetaL Developer examples?

    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.

    Reply

    queshaw

    Reply to: XMetaL Developer examples?

    Ah. Thank you! I would not have thought to look there. The samples are in %programdata%SoftQuadDeveloperSamples

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support