Maybe you could use file-name-field() -- if I understand you, you want to open URL/File chooser dialog to not to enter long paths manually. So file-name-field() does the job and moreover, it handles attribute (adding and reading current value) automatically.
Have a nice day, Martin > -----Original Message----- > From: xmleditor-support-admin at pixware.fr > [mailto:xmleditor-support-admin at pixware.fr]On Behalf Of Bernd Kuemmerlen > Sent: Friday, May 09, 2003 3:45 PM > To: xmleditor-support > Subject: [XXE] Question about putAttribute command > > > 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 > > -- > XMLmind XML Editor Support List > xmleditor-support at xmlmind.com > http://www.xmlmind.com/mailman/listinfo/xmleditor-support >

