Showing Primes in XSL

primes.xsl
Copy and paste the code from the text area below to primes.xsl

The code above demonstrates the ability to simulate iteration in an XSLT transform using recursion.

The templates "loop" and "findPrime" each call themselves recursivley to simulate iterative loops.


Back to Jimbo's Demented Software

Back to Jimbo's Home Page