[oXygen-user] css count elements

Roderik Dernison Roderik.Dernison at inl.nl
Tue May 22 08:41:37 CDT 2012


Hi,

I'm trying to count elements with css to place dashes between elements and to show indexes (like a,b,c). This works well in firefox and chrome, but oXygen shows an error:

Dita:
<options>
                                <option judgement="* unacceptable">
                                    <word>loopt</word>
                                </option>
                                <option>
                                    <word>ziet</word>
                                </option>
                            </options>

Css:
option:nth-child(n+2):before {
    content: "/";
}

results in the error:

System ID: D:\oxygen-13.2\frameworks\dita\css_classed\ling.css
Severity: error
Description: [CSS]:encountered "+". Was expecting one of: ")"
Start location: 330:19

Where I expected: Jan loopt/ziet

Can this be done in  oXygen?

Kind regards,

Roderik Dernison


________________________________

----------------------------------------------------------
Aan dit bericht kunnen geen rechten worden ontleend.
Het bericht is alleen bestemd voor de geadresseerde.
Indien het bericht niet voor u is bestemd, verzoeken wij
u dit aan ons te melden en het bericht te verwijderen.

This message shall not constitute any obligations.
This message is intended solely for the addressee.
If you have received this message in error, please
inform us and delete the message.
----------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20120522/c0b1bece/attachment.html 


More information about the oXygen-user mailing list