W3C home > Mailing lists > Public > www-validator@w3.org > July 2001

Off Topic: @attrib

From: Kynn Bartlett <kynn@idyllmtn.com>
Date: Mon, 09 Jul 2001 18:08:05 -0700
Message-Id: <4.2.0.58.20010709180445.00c18100@garth.idyllmtn.com>
To: Thanasis Kinias <tkinias@optimalco.com>
Cc: www-validator@w3.org
At 05:51 PM 7/9/2001 , Thanasis Kinias wrote:
>Kynn,
>I'm curious about your usage here:  I've not seen attribute names written 
>before with the 'commercial at' as a prefix.  I associate this prefix with 
>arrays (as in Perl) -- what's the origin of using it for SGML/XML attributes?

Simple answer:  XSLT.

In XSLT, an "@" sign is how you indicate that you're talking about an
attribute, not an element.

(I first saw Sean Palmer using this, thought it was useful, and immediately
stole it from him.)

--Kynn

-- 
Kynn Bartlett  <kynn@idyllmtn.com>                http://kynn.com/
Technical Developer Liaison, Reef             http://www.reef.com/
Chief Technologist, Idyll Mountain Internet   http://idyllmtn.com/
Online Instructor, Accessible Web Design     http://kynn.com/+d201
Received on Monday, 9 July 2001 21:09:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:13:59 GMT