This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Re: Re: "*|@*|text()" vs. "node()"


> Thanks Dimitre, is there a logical explanation of writing the
> spec in this
> way? Why attributes are no childs of its element?

XML, for historical reasons rooted in typographical markup, distinguishes
"content" from "properties". Content is the information intended for the
reader, properties are extra information intended for the software
processing that information. This history explains why we have the split
between elements and attributes (logically, attributes aren't necessary at
all), and explains why they are treated differently in the object model.

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]