|
|
Recurse, not divide, to conquer |
|
|
Recurse, not divide, to conquer |
|
|
XML / Development |
|
|
Click to Visit |
|
|
12 |
|
This article demonstrates how to to bridge processing of an HTML element over two XSLT templates, by shifting 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 codes made available, demonstrates the right way (and the wrong way) to work with a flat XML or XHTML file that you want to process hierarchically. This article illustrates, understanding the XSLT working model and makes it possible to develop algorithms that work well with the language.
|