On 02/18/2011 12:26 PM, Burkhard Quessel wrote:
> I had this problem before but can't remember if there was a solution: I
> am trying to use the control below to edit two camel-cased attributes -
> notBefore and notAfter (from TEI P5). What happens when a value is added
> is that the attribute names are changed from camel-case to lower case -
> which renders the input invalid. Is this a known limitation and, if yes,
> is there another option apart from editing those attributes in the
> attribute window only?
>
> person > birth:after {
> content : "not Before" text-field(columns, 3, attribute, notBefore)
> " ""not Before" text-field(columns, 3, attribute, notAfter);
> }
>
To make it simple, except in the selectors, a CSS stylesheet is
case-insensitve regarding identifiers such as notBefore and notAfter.
Therefore you cannot use identifiers to specify the camel-cased name of
an attribute.
If my memory serves me well, please use a string or a qualified name
(new in CSS3), that is:
"notBefore"
(quoted!)
OR
|notBefore
(|xxx means xxx with no namespace).
Reference:
http://www.w3.org/TR/css3-selectors/#attrnmsp
---
PS: This level of support is normally reserved to the customers of
XMLmind XML Editor Professional Edition. See "Policy of the
xmleditor-support public mailing list" in
http://www.xmlmind.com/xmleditor/support.html
Therefore, if you have more questions like the above one, please
identify yourself as a customer (for example, by using a registered
email address) OR if you work for a non-profit organization (TEI?) or an
open source project, we'll be glad to offer you a free Professional
Edition licence.
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support