Note that you're taking for granted that the document must necessarily be a nested tree structure, which then behooves us to follow in the code.
Which may be right and good (and in any case is foisted on us); but the assumption bears spelling out.
Note that you're taking for granted that the document must necessarily be a nested tree structure, which then behooves us to follow in the code.
Which may be right and good (and in any case is foisted on us); but the assumption bears spelling out.