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