[oXygen-user] css count elements
Oxygen XML Editor Support
support at oxygenxml.com
Wed May 23 02:51:45 CDT 2012
Hi Roderick,
As explained in the previous email, Oxygen does not yet support the
"nth-child" selector.
Maybe using an (E + F) selector would work in this case:
> option + option:before {
> content: "/";
> }
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
On 5/22/2012 4:41 PM, Roderik Dernison wrote:
> 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>
> <optionjudgement="* 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.
> ----------------------------------------------------------
>
>
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at oxygenxml.com
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
More information about the oXygen-user
mailing list