Bernd Kuemmerlen wrote:
> 
> 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.

Number of columns can be specified by parameter columns.



> 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?

No, this is a glaring omission in the putAttribute command.




> If not, would you consider adding this feature to a future release?

Yes, of course. You'll have it in V2.3p1 (next release that'll support
MacOS).

Reply via email to