General XMetaL Discussion

XMetaL Community Forum General XMetaL Discussion Display Element as a List

  • rnv

    Display Element as a List

    Participants 0
    Replies 1
    Last Activity 10 years, 7 months ago

    Hi all,

    In our DTD we have elements and to represent 'list' and 'list-item'. Is it possible to specify CSS (or in other way) so that and are displayed as List in XMetal?

    Example:
    point 1point 2

    should display like:

    • point 1
    • point 2

    regards,
    rnv

    Reply

    Derek Read

    Reply to: Display Element as a List

    Probably the best thing to do here is to check the Journalist sample. The CSS for it is in the Display subfolder.
    Elements to look at: OrderedList, ListItem, ItemizedList

    You can also enable list editing using the CTM file's “Treat As” properties (that is what it appears as in XMetaL Developer and in the Customization Guide). Once the CTM file is generated the section containing these properties is inserted as (in case you want to try to hand code this based on the Journalist example). This enables the tab and shift+tab feature (for indenting/outdenting nestable lists) and the two buttons for lists on the Formatting toolbar.

    Reply

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

Lost Your Password?

Products
Downloads
Support