I am having trouble with the CSS Attribute Selector in Oxygen XML Editor 19.1. I used this example CSS selectors in Oxygen for creating a table, but instead of elements as table-cells I want to use the attributes of an given element.
My XML code:
<local-variables>
<local-variable name="consumer-id"/>
<local-variable name="result-meter-value" type="float"/>
</local-variables>
My CSS code:
local-variables {
display:table;
margin:2em;
border:1px solid navy;
}
local-variable{
display:table-row;
}
local-variable[name],local-variable[type]{
display:table-cell;
min-width:500px;
border:1px solid navy;
padding:5px;
}
But the Attribute Selectors local-variable[name] and local-variable[type] do not work. Does anyone have any suggestion?