[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: <quote>XSL is NOT easy</quote>

Subject: Re: <quote>XSL is NOT easy</quote>
From: Roger <rxt360@xxxxxxxxx>
Date: Tue, 3 Jul 2007 00:08:29 +0200
Re:  <quote>XSL is NOT easy</quote>
Thanks for this insight Hugh! I was one of those for-each- programmers, never used apply-templates until recently. The way you put it here makes it a lot clearer. Of course I knew what the default template did, but missed the intention behind it. What I used to do was copy HTML into the XSLT, split it up using call-template, work my way down. What you're suggesting is in fact starting with a clean template, then adding modifications. That's quite interesting. It turns my XSLT-world upside down. And looking back it seems so strange that I didn't see this sooner (because it's so simple and basic).

Roger

They can't seem to get it that an XSLT processor executes and has default behavior - which can be modified by "templates" you supply for each node in the input tree of nodes.. and that they are called templates since you provide a template of what you want as output.... you don't write procedural code to generate it.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.