We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Is there api to get the value of PLAIN TEXT Structured Document Tag


I want to get the value of plain text structured document tag.

for (Object t : document.getChildNodes(NodeType.STRUCTURED_DOCUMENT_TAG, true)) {

        StructuredDocumentTag std = (StructuredDocumentTag) t;
        if (std.getSdtType() == SdtType.PLAIN_TEXT) {
           //How to get the value

Please help.


Thanks for your inquiry. You may please try getText() method of StructuredDocumentTag object. Hopefully it will help you to accomplish the task. However, it the issue persists then please share your input document here as ZIP file. We will look into it and will guide you accordingly.