I have a little problem. I am loading a big xml-file (about 4 GB) and inside there are some elements, which refer to other objects. Like this:
Code: Select all
<object1 id="123712346"/>
<object1 id="99174z417"/>
<object2>
<nd ref="123712346"/>
</object2>
Code: Select all
Type Object1
As UInteger id
End Type
Type Object2
As UInteger ids(Any)
End Type
' .... Parsing
For i As Integer=1 To number_of_object1
If Object2.ids(index)=Object1(i).id Then
Object2.ids(index)=i
Exit For
End If
Next