Hello,
I am currently trying to customize the docbook stylesheets to make
editing of attributes of some elements easier. One example is the
<ulink> element: I want to be able to edit the url directly in the
styled view (i.e. without going to the Attributes panel).
I first used a text-field for the attribute. This works, but the text
field takes a lot of space.
So I tried a command-button:
ulink:after {
content: command-button(icon, icon(right),
text, "Edit URL",
command, "putAttribute"
parameter, "[implicitElement] url");
vertical-align: text-top;
color: navy;
}
and while this basically works, it has one problem: The dialog box does
not show the current value of the attribute.
Is there any way to achieve this currently? If not, would you consider
adding this feature to a future release?
Thanks for your help
Bernd