role is a generic attribute that is available on nearly every docbook
element.
It's use is largely application-defined. Whomever authored that test
file either provided
a custom DTD that lists the valid attribute values or they did not.
see: http://docbook.org/tdg/en/html/pe-role.html
hope this helps,
--Craeg
Daniel Carrera wrote:
> Hello,
>
> I just came accross the following on a test file:
>
> <phrase role="red">...
>
> I'm trying to figure out what are the valid colours that might go in
> the role attribute. But these don't seem to be defined anywhere. I
> can't find this on the DTD or RelaxNG at all. I've been searching for
> an hour.
>
> Could someone tell me where I can get a list of colours that the role
> attribute accepts?
>
> Cheers,
> Daniel.