Handling Recursive Data in DOCX Template

Home Forums Open-Xml-PowerTools Handling Recursive Data in DOCX Template

This topic contains 0 replies, has 1 voice, and was last updated by  jholliday 7 years, 5 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #5074

    jholliday
    Participant

    What is the correct strategy for handling recursive XML data in a DOCX template when the depth of the tree is not known?

    For example:

    <Entity><Name>parent</Name>
    <Children>
    <Entity><Name>child1</Name><Children/></Entity>
    <Entity><Name>child2</Name><Children><Entity>grandchild</Entity></Children></Entity>
    </Children>

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.