[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Article -- Why you shouldn't divide an HTML element over two XSLTtemplates
- From: Kelli Wiginton <firstname.lastname@example.org>
- To: email@example.com
- Date: Fri, 13 Jul 2001 13:35:20 -0700
Recurse, not divide, to conquer
Ever want to know how to bridge processing of an HTML element over two XSLT
templates? Here's why not to do it. This article demonstrates how to shift
your thinking into the XSLT recursive approach, which is especially helpful
if you have a background in a procedural language (Java and the like).
Sample code demonstrates the right way (and the wrong way) to work with a
flat XML or XHTML file that you want to process hierarchically.
Share your success story
Tell us how you have used developerWorks and alphaWorks resources to
advance in your profession or create a new solution that has helped you in
your job. Then in September, developerWorks will feature the 3 best stories
on our site. They will also be shared with major IT publications around the
world, providing a channel for you to gain visibility among potential
partners, venture capitalists, and your peers.