|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Leventhal's challenge misses the point
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
|
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
|

Cart








