General XMetaL Discussion
XMetaL Community Forum › General XMetaL Discussion › Display Element as a List
-
rnv February 27, 2012 at 11:17 am
Display Element as a List
February 27, 2012 at 11:17 amParticipants 0Replies 1Last Activity 10 years, 11 months agoHi 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 1 point 2 should display like:
- point 1
- point 2
regards,
rnvDerek Read February 27, 2012 at 5:41 pm
Reply to: Display Element as a List
February 27, 2012 at 5:41 pmProbably 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, ItemizedListYou 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. -
AuthorPosts
- You must be logged in to reply to this topic.