[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: xml:namespace


af attribute
David Megginson <david@m...> wrote:
| Tim Bray writes:

[on jargon as a barrier to comprehension of AFs]
 
|> I disagree.  While I still dislike the AF attribute remapping syntax, 
|> I think there was a whole complex of great ideas lurking in there that 
|> failed to succeed because the language used to describe them was more  
|> or less completely impenetrable. 

| I did my best to promote AF's right around the time XML 1.0 came out,
| but I agree with Tim that language was the biggest barrier to adoption. 

Would more folksy terms (with perhaps a note in parenthesis to the correct
jargon) have made things more palatable?  I really don't know, because
beyond user-friendly terminology there has to be reasonably clear examples
of the subject matter.  

In my own case, it was a matter of acquiring the jargon - and with that,
the "why"s - after I had already had a taste of AFs - the "hows" - while
playing around with SP 1.1 upon reading this:

 http://groups.google.com/groups?selm=9606101513.AA03030@j...

At some point, it clicked that a) the element type name is actually just
the value of another attribute ("generic identifier"), and b) this is not
the only attribute by the name of which processing is, or even should be,
triggered (that is, look for *some* attribute by name, and then examine
its value to dispatch): GI-based processing is only a typical but still
special case.  Note, for example, the special status of HTML's CLASS
attribute in CSS: that's a classic application of bargain-basement AFs.  

Attribute based processing is where it's at.  Once that's taken on board
it isn't a long step to thinking in terms of the values not being single
names but association lists of names...

And everything else is an application.  Just as AFs are an application of
the rubric (and for that matter, could do with a rethink+rewrite).


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.