[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Microsoft extensions to XSL (was RE: how to call Javascr
keshlam@xxxxxxxxxx wrote: > > The DOM's nodeName attribute (please note: that's "IDL attribute", or > "property", not XML Attribute!) will equal the tagname when you're working > with Element nodes, Well the DOM is broken in this respect in a couple of ways. First, XML does not define the term tag name. Tags do not have names. Second, my name is "Paul Prescod" and my "type" is "programmer." Similarly: <PROGRAMMER ID="PAUL-PRESCOD"> </PROGRAMMER> The node's name can only be its unique ID. "PROGRAMMER" is the name of a whole class of elements, not this individual element. > the attribute name when it's an Attr node, the entity > name when it's an Entity or EntityReference node, and so on. So individual entities are named by their individual name, but elements are named "in batch?" Ugh. > The "unnamed" > nodes (Text, CDATASection, Comment, Document, and DocumentType) return a > recognizable constant string as their nodeName. Now we're combining a *third level*, the *node type*. Double ugh. Paul Prescod - http://itrc.uwaterloo.ca/~papresco At today's pop doubling rates, in 100 years there will be 20 billion people, more than enough to fill the earth. In 300 years, we will have filled up 16 earth-sized planets (roughly, our solar system). In 2300 years we will have filled up 200 billion earth-sized planets (roughly, our galaxy). Only one technology can save us: birth control. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|