//hss
.. element/level:nth(3) { }
//xml
<root>
<element>
<element>
</element>
</element>
<element>
<element>
</element>
</element>
<element> //this one would be selected
<element> //and this one
</element>
</element>
</root>
In our example the level splitter takes the element collection and returns 2 collections (one for each degree of nesting).
advanced example
//hss
.. [element/level]:nth(3) { }
//xml
<root>
<element>
<element>
</element>
</element>
<element>
<element>
</element>
</element>
<element> //this one would be selected
<element> //this one isn't (it's the sixth in the collection)
</element>
</element>
</root>
Here the grouping brackets join the 2 collections spouted by the splitter into one.
PS: the name of the splitter is taken from the related property.
reminder: http://spec.axrproject.org/specification.html#n1.5.7
currently
new splitter
In our example the level splitter takes the element collection and returns 2 collections (one for each degree of nesting).
advanced example
Here the grouping brackets join the 2 collections spouted by the splitter into one.
PS: the name of the splitter is taken from the related property.
alternative name