B
B
blessmemary2021-06-08 10:44:17
XSL & XSLT
blessmemary, 2021-06-08 10:44:17

xml. How to describe an XSL that will calculate the factorial of a number?

Good day.
Help to implement factorial calculation in xml, please.
The xml document looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<factorial-of>5</factorial-of>


Output: just a number, in this example 120

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Fov, 2021-06-08
@Roman-Fov

Recursion???...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question