I'm writing an application that uses the RTI Connector for Javascript. I have an XML file that I converted from an IDL by running rtiddsgen.
In my XML file, the types definition looks like this:
<types>
<module name="Example">
...
<struct name= "busB" extensibility= "final" nested="true">
...
<member name="nestedInsideBusB" type="nonBasic" nonBasicTypeName= "Example::BusC"/>
</struct>