[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: deep copy without attributes
On Mon, May 20, 2013 at 08:22:53PM +0100, Ihe Onwuka scripsit: > On Mon, May 20, 2013 at 5:44 PM, Andrew Welch <andrew.j.welch@xxxxxxxxx> wrote: > >>> Lots of xslt is non-intuitive, but that doesn't mean it's > >>> cumbersome... try doing the same task in any other language. > >> > >> You are speaking as and to the cognoscenti only. > > > > Does that mean I'm wrong? > > > Are they the only ones that use the language? You can't make the solution simpler than the problem. The great success of XSLT is that it makes a bunch of highly intractable problems solvable in efficient ways. XSLT can't be made intuitive or easy or avoid the whole welcome-to-the-land-of-nodes-yes-it-will-hurt-your-head and still solve the intractable problems. You really do have to deal with the concept of nodes because it's the concept of nodes that makes the problems solvable, it's not some unnecessary amusement of the language designers. The good part is one gets to a place where you can recognize "I'm doing something hideous and convolved, I must be doing it wrong"; the bad part is that getting there is work. -- Graydon Saunders graydon@xxxxxxxxx
|
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
|