[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

Subject: Re: Microsoft extensions to XSL (was RE: how to call Javascriptfunction in .xsl file)
From: Paul Prescod <papresco@xxxxxxxxxxxxxxxx>
Date: Wed, 11 Nov 1998 08:32:34 -0600
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


Current Thread

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
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.