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

Free Support Forum - aspose.com

Can make w:storeItemID of StructuredDocumentTag public?

I want to know value of w:storeItemID which in StructuredDocumentTag, if StructuredDocumentTag.XmlMapping.CustomXmlPart is not null, i can get it by StructuredDocumentTag.XmlMapping.CustomXmlPart.Id, but if it is null, it stored in a private field of StructuredDocumentTag.XmlMapping, can make it public?
图片.png (17.0 KB)

the document:
template0.zip (20.7 KB)


Thanks for your inquiry. We have logged this feature request as WORDSNET-16060 in our issue tracking system. Our product team will look into the possibility of implementation of this feature. Once we have any information about this feature, we will update you via this forum thread.

We apologize for your inconvenience.


The issues you have found earlier (filed as WORDSNET-16060) have been fixed in this Aspose.Words for .NET 18.1 update and this Aspose.Words for Java 18.1 update.

Please also check the following articles:


Regarding WORDSNET-16060, it is just to update you that starting from the 18.1 versions of Aspose.Words for .NET and Aspose.Words for Java APIs, we had added a feature that you can use to get the StoreItemID property of StructuredDocumentTag. We have made public the StoreItemId property in XmlMapping class. You can use this property to specify the custom XML data identifier for the custom XML data part which shall be used to evaluate the XPath expression. Here is how you can use it:

var doc = new Document("file.docx");
var sdt = (StructuredDocumentTag)doc.GetChild(NodeType.StructuredDocumentTag, 0, true);
Console.WriteLine("Id = {0}", sdt.XmlMapping.StoreItemId);

For more information, please refer to DataBinding Class.