C
C
corruptzero2021-06-02 18:19:37
XML
corruptzero, 2021-06-02 18:19:37

How to sum a sequence of numbers in XML?

You need to write a transformation for an xml document that considers the sum of a sequence of numbers specified in the document in the from and to elements

Document example:

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="some.xsl"?>
<sum-of-sequence>
<from>1</from>
<to>10</to>
</sum-of-sequence>

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question