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

  • To: "XML Developers List" <xml-dev@l...>
  • Subject: @href or @src?
  • From: Frans Englich <frans.englich@t...>
  • Date: Fri, 11 Feb 2005 21:49:38 +0000
  • User-agent: KMail/1.5.4


On the topic of vocabulary design, the picky category:

What is the best attribute name for "referencing" URLs? href or src?

Among common W3C vocabularies I see no pattern in the choice of names. For 
example, XInclude uses @href, but XHTML's script element uses src. What makes 
a Javascript a "source" while excluding an XML document, which is inserted 
into another, from the "source" definition?

A search for "define: href" on google says it's a Hypertext Reference. Isn't 
the content of a src element that too?

This is the answer: 1) There's no pattern, it's all random; 2) Frans should go 
do something useful.

Right?


Cheers,

		Frans

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