Subject: Re: Leventhal's challenge misses the point
From: "Guy Murphy" <guy-murphy@xxxxxxxxxxxxx>
Date: Sun, 30 May 1999 18:39:03 +0100
|
Hi Don.
You are right it would, and in the real world if I where using the IE5
parser I would use xmlDoc.selectNodes('//section/title');
This at the moment has arisen as an MS extention to the DOM, *from* XSL. I
wanted to compare XSL with W3C standard DOM, as it is this standard that is
one of the cornerstones of the anti-XSL arguement.
Cheers
Guy
> DOM with query language support will look a little less busy:
>
> var result = xmlDoc.getElementsByQuery("//section/title");
> for (var i = 0; i < result.length; i++)
> document.write("<h1>" + result[i].nodeValue + "</h1>");
>
> Don
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|