if you are a human please do not click here
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
Username :
Password :
Home
Help
Calendar
Register
Login
XMetaL Community Forums
»
General
»
General XMetaL Discussion
»
XMetaL 6.0 Customization questions
Pages:
1
« previous
next »
Print
Author
Topic: XMetaL 6.0 Customization questions (Read 208 times)
NickHsu
Member
Posts: 1
XMetaL 6.0 Customization questions
«
on:
February 01, 2012, 12:50:00 AM »
It's about *.ctm file. I have a customized task.ctm file for task topics, I want to add a new <uicontrol> automatically when I press ENTER within the <uicontrol> in the <menucascade>, for example:
<menucascade><uicontrol></uicontrol><menucascade>, my cursor is between <uicontrol> and </uicontrol> and I want to adding a new element <uicontrol> automatically when I press ENTER.
Tutorial said I can add a FollowedByListItem in the task.ctm, I've tried both of
1.
<FollowedByListItem>
<Name ns="">uicontrol</Name>
<FollowedBy ns="">uicontrol</FollowedBy>
</FollowedByListItem>
2.
<FollowedByListItem>
<Name ns="">uicontrol</Name>
<Parent ns="">menucascade</Parent>
<FollowedBy ns="">uicontrol</FollowedBy>
</FollowedByListItem>
and it does not work at all. Could anyone help?
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member
Posts: 1548
Re: XMetaL 6.0 Customization questions
«
Reply #1 on:
February 01, 2012, 11:39:00 AM »
The problem here is likely that you are inserting the element via the Insert menu vs the Element List. The two behaviours may differ there because the Insert menu items are driven by script. It might also be the case the Element List has some script involved. The DITA customization is quite complex (and completely undocumented, which is why making changes like this are not officially supported).
Logged
Pages:
1
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Forum Information
=> General XMetaL Discussion
=> DITA and XMetaL Discussion
=> XMetaL Tips and Tricks
=> XMetaL Announcements and Events
Loading...