[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: Leventhal's challenge misses the point


Subject: Re: Leventhal's challenge misses the point
From: "James Tauber" <jtauber@xxxxxxxxxxx>
Date: Sun, 30 May 1999 11:13:59 +0800

> 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>");

Yes, but this only serves to highlight my original argument on XML.COM. As
you attempt to build a common library to make transformation easier with the
DOM, you end up with something more and more like XSLT anyway.

JamesT



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



Current Thread
Keywords