On Thu, 23 Oct 2003, Robert Koberg wrote: > > With CSS, how would you take this XML element: > <link idref="a1234"/> > And style it into: > <a style="internalLink" href="../folder/page.html">page</a> That question is meaningless. You are adding semantics, not styling. If the <link> element above is in a proprietary language, then it shouldn't be sent over the wire anyway, it should be transformed on the server side. If the <link> element is in a fictional but well-known standard namespace, then it would already have the linking semantics, and so it would already match the :link and :visited pseudo-classes as appropriate. In the extreme case, however, it would be possible to do something like: link { binding: url(internalLinks.xml#link); } ...where internalLinks.xml is a BECSS binding that defines how elements should be turned into links. (BECSS is still in development, though. At the moment, you would use -moz-binding or behavior depending on whether you were targetting Mozilla or WinIE.) > Or this element: > <submit servlet="login"/> > Into: > <form id="loginForm" action="login" method="post"> > ... > </form> The same arguments and solutions apply here. > Or, using CSS, turn the things above (or anything) into a PDF? There are several CSS-to-PDF systems available. -- Ian Hickson )\._.,--....,'``. fL U+1047E /, _.. \ _\ ;`._ ,. http://index.hixie.ch/ `._.-(,_..'--(,_..'`-.;.'Received on Thursday, 23 October 2003 11:46:25 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:24 GMT