On Sun, 8 Jul 2001, Stuart Ballard wrote: > > (In combination with something like Mozilla's XBL, this would be a > wonderful way to do a standards-compliant alternative to MS's "smart > tags": > > html.css: > > #xpointer(string-range(//body,"Open Source") { > -moz-binding: > url("chrome://navigator/content/smarttags.xml#opensource"); > } > a.smarttag { color: green }; > > smarttags.xml: > > <binding id="opensource"> > <content> > <html:a href="http://www.opensource.org" > class="smarttag"><children/></html:a> > </content> > </binding> > > Of course, we should make sure that it's the *user* that gets to specify > these, not some arbitrary person, even if it's a nice arbitrary > person...) No need to use XPointers in selectors or proprietary technologies like XBL. Extended XLinks do exactly what you just proposed. http://www.w3.org/TR/xlink/ -- Ian Hickson )\ _. - ._.) fL Invited Expert, CSS Working Group /. `- ' ( `--' The views expressed in this message are strictly `- , ) - > ) \ personal and not those of Netscape or Mozilla. ________ (.' \) (.' -' ______Received on Sunday, 8 July 2001 23:05:50 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:10 GMT