Re: Beginners question: Koala XSL-Engine and <xsl:process select>

Subject: Re: Beginners question: Koala XSL-Engine and <xsl:process select>
From: Paul Prescod <papresco@xxxxxxxxxxxxxxxx>
Date: Thu, 22 Oct 1998 17:25:35 -0400
Tyler Baker wrote:
> 
> That is one way of doing things I suppose, but I don't like this at all as it is
> confusing to deal with.  It still seems silly to have to refer to the root node when
> only one element of a particular type can be the document element.  Referring to the
> document element like any other node makes working with the DOM a bit of a kludge
> since you have to essentially create a dummy node that lives on top of the document
> element.

It isn't a dummy element. It is the logical holder for document-global
information: examples include the DTD, the list of entities, the list of
IDed elements, etc. It turns out that XSL is not powerful enough to use
any of that information but that doesn't mean that the idea of a "document
node" separate from an "element node" is a bad one.

 Paul Prescod  - http://itrc.uwaterloo.ca/~papresco

Earth will soon support only survivor species -- dandelions, roaches, 
lizards, thistles, crows, rats. Not to mention 10 billion humans.
	- Planet of the Weeds, Harper's Magazine, October 1998


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


Current Thread