Hello, thanks for your fast reply.
You are right - I use a schema and the first thoughts when things were not working were, that the error must be down to the schema. My schema had no values included ... but what I didn't know was, that the colleague who wrote the configuration for this source years ago, wrote a schema too. I found this file now and can change the values now. Lots of thanks to you and best regards, Monika ----------------------------- [Insert your disclaimer here] ----------------------------- -----Ursprüngliche Nachricht----- Von: Hussein Shafie [mailto:[email protected]] Gesendet: Freitag, 19. April 2013 11:50 An: Madlik, Monika (LNG-VIE) Cc: [email protected] Betreff: Re: [XXE] css combo-box - some values can not be chosen On 04/19/2013 11:00 AM, Madlik, Monika (LNG-VIE) wrote: > > I tried to adapt an existing combo-box within the XML-Mind configuration. > > Within the XML-file I have the following structure: > > <verweis> > > <artikel> > > <autor>…</autor> > > <zeitschrift>…</zeitschrift> > > <fundstelle>…</fundstelle> > > <zusatz>…</zusatz> > > </artikel> > > </verweis> > > Within the css-file I want to assign a combo-box to the element > “zeitschrift”. > > My css-part looks like this: > > zeitschrift > > { > > content: combo-box(labels, "AFS\A ARD", values, "AFS\A ARD"); > > } This means that you want to use a comboxbox to edit the contents of element zeitschrift. Not an attribute of zeitschrift, but the zeitschrift element itself. http://www.xmlmind.com/xmleditor/_distrib/doc/csssupport/combo-box.html > > And the really big problem is (and I really tried lots of things and I > really don’t know where the error could be), that the value “ARD” > could be chosen, but the value “AFS” not! If "ARD" works and not "AFS", then this means that your document is conforming to a *schema* and that the schema allows "ARD" and not "AFS" (case-sensitive) as the contents of the zeitschrift element. > > I tried to assign the same combo-box to another element: > > fundstelle > > { > > content: combo-box(labels, "AFS\A ARD", values, "AFS\A ARD"); > > } > > And here it was no problem to select both items! > > And I tried to rename the element “zeitschrift” i.e. to “zeitschriften” > – and it works … only when the name of the element is “zeitschrift” I > get the problems. The above behaviors are compatible with my explanation: the content model of element zeitschrift does no allow value "AFS". > > Does anybody know what I can do, except renaming the element??? > Please select a zeitschrift element and press Shift-F1 (Help|Show Content Model) to check the content model of this element. http://www.xmlmind.com/xmleditor/_distrib/doc/help/helpMenu.html -- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support

