To have <... class="..."> in whole XML world, not only in [X]HTML. @namespace ns "http://myserv/ns"; @classattr ns|class; /* if more than one declared, last replaces others */ .abc{color:red} <paragraph xmlns:ns="http://myserv/ns" class="abc">Abc</paragraph> Optionally, there could be also <... style="...">: @styleattr style all; @styleattr print-style print; /* 'print-style' is more specific than 'style', because it has been declared later */ <mydoc> <elmnt style="color:red" print-style="color:black">Abc</elmnt> </mydoc> -- FreyjkellReceived on Sunday, 27 January 2008 11:15:36 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:00 GMT