The issues you have found earlier (filed as FINANCENET-87) have been fixed in this update. This message was posted using Bugs notification tool by WilliamShen
@wallace.o
You can try the following code :
InlineXbrlDocument document = new InlineXbrlDocument(“test.html”);
List contexts = document.Contexts;
List SceExpNames = new List();
List SceTypeNames = new List();
foreach (Context con in contexts)
{
ContextSenario ce = con.Scenario;
if (ce != null)
{
foreach (DimensionMember dm in ce.DimensionMemberList)
{
if (dm != null)
{
if (dm.ExplicitMemberConcept != null)
{
SceExpNames.Add(dm.ExplicitMemberConcept.Name);
}
if (dm.TypedMemberElement != null)
{
SceTypeNames.Add(dm.TypedMemberElement.TextContent);
}
}
}
}
Hi, I’m trying to use the Aspose.Finance to generate XBRL document programmatically, and I am able to generate everything I needed except for context scenario with TypedMember.
I can generate this xbrli:scenario
<xbrldi:explicitMember dimension=“ssmt:ParticularsOfCompanyAxis”>ssmt:AddressOfResidenceOfDirectorsMember</xbrldi:explicitMember>
</xbrli:scenario>
but I am not able to generate this xbrli:scenario
<xbrldi:explicitMember dimension=“ssmt:ParticularsOfCompanyAxis”>ssmt:AddressOfResidenceOfDirectorsMember</xbrldi:explicitMember>
<xbrldi:typedMember dimension=“ssmt:DirectorCountAxis”> ssmt:DirectorCount0001</ssmt:DirectorCount>
</xbrldi:typedMember>
</xbrli:scenario>
I see the constructor accepting the typeElement parameter, but I am not able to initialize it. image.png (7.7 KB)