[Home] [By Thread] [By Date] [Recent Entries]

  • From: Ben Trafford <ben@p...>
  • To: bob@s...
  • Date: Fri, 22 Sep 2006 22:17:12 -0400


At 09:47 PM 9/22/2006, Bob DuCharme wrote:
 > <link location="http://www.prodigal.ca">This is a link</link>
>You can, easily. You want to style it, use a stylesheet:

         I'd rather not use a transformation when I should just be 
able use something like:

link {
         xlink-href: "http://www.prodigal.ca";
         color: blue;
         text-decoration: underline;
}

         Or even better, modify CSS to allow for attribute 
inspection, and thus author intent:

link {
         xlink-href: ||location; /* where the || indicates an 
attribute inspection
         color: blue;
         text-decoration: underline;
}

         Seems a lot more straightforward that 10 lines of XSLT that 
95% of your audience isn't going to understand or want to bother to learn.

         I'm busily writing up my thoughts on using XLink concepts in 
CSS. I'll post a link when it's readable. It'll explain my thoughts 
on this more clearly, I think.

--->Ben  



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member