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: <>
To: Thanasis Kinias <tkinias@optimalco.com>
Cc: www-validator@w3.org
At 05:51 PM 7/9/2001 , Thanasis Kinias wrote:
>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 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 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:22 UTC