On 26.7.2005 12:46 Uhr, Ludovic Gasc wrote:
> With relax-ng, it's possible to have this :
> <element name="lieninterne">
> <text/>
> <attribute name="type">
> <choice>
> <value>papier</value>
> <value>glossaire</value>
> </choice>
> </attribute>
> <attribute name="id">
> <text/>
> </attribute>
> </element>
>
> When I add "lieninterne", bitflux ask for the type attribute.
> It's possible to have a select box to choose the type instead of a text box ?
It's a select box, if you choose "edit attributes", but not on first
insertion. You can either define a default value for preventing of
coming up of that alert in the first place, or live with it for the time
beeing. It's unfortunately a little bit complicated to make that a
selectbox.
chregu
--
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71
http://www.bitflux.ch | chregu@xxxxxxxxxx | gnupg-keyid 0x5CE1DECB
--
bx-editor-dev mailing list
bx-editor-dev@xxxxxxxxxxxxxxxx
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-dev
|