Getting the table and rows from the repeating section sdt

Hi, Can I get the code for generating the table and rows directly from the repeating section sdt in aspose java or else do we have to convert it to node. Can you please help by answering to this query and sharing the code?

@Sri_Harsha You can use the same approach as suggested in another your topic.

Code should look like this:

Document doc = new Document("C:\\Temp\\in.docx");

Node[] tags = doc.getChildNodes(NodeType.STRUCTURED_DOCUMENT_TAG, true).toArray();
StructuredDocumentTag repeatingSectionSdt = (StructuredDocumentTag)Arrays.stream(tags)
        .filter(sdt-> ((StructuredDocumentTag)sdt).getSdtType() == SdtType.REPEATING_SECTION)
        .findFirst()
        .orElse(null);

// Get parent row of repeating section SDT.
if (repeatingSectionSdt != null)
{
    Row parentRow = (Row)repeatingSectionSdt.getAncestor(NodeType.ROW);
    if (parentRow != null)
    {
        // Process the row.
        // ...................
    }
}

but it would be easier to provide a code example if you provide your input document here, since the code depends on the document internal structure.