We are looking for the three most internal (bottom) fractions that belong to a
continued fraction.
( normalize-space(
child::mrow[ @class = ’mrow-numerator’ ])
and
normalize-space(
child::mrow[ @class = ’mrow-enumerator’ ] /
child::mfrac /
child::mrow[ @class = ’mrow-numerator’ ])
)
and
( normalize-space(
child::mrow[ @class = ’mrow-enumerator’ ] /
child::mfrac /
child::mrow[ @class = ’mrow-numerator’ ])
and
normalize-space(
child::mrow[ @class = ’mrow-enumerator’ ] /
child::mfrac /
child::mrow[ @class = ’mrow-enumerator’ ] /
child::mfrac /
child::mrow[ @class = ’mrow-numerator’ ])
)
-_-_-