Hello everyone,
currently I am trying to develop an application with ExtJS and Sencha Architect. My really big problem is, that I am not able to get the XMLReader & the XMLWriter to work with nested XML data.
My XML looks like this (just a little part of it):
Code:
<Calculation>
<Sections>
<Section>
<Text><ShortText>Short description text</ShortText></Text>
<Item>
<Text><ShortText>Short description text of the item</ShortText></Text>
</Item>
</Section>
<Section>
<Text><ShortText>Short description text</ShortText></Text>
<Item>
<Text><ShortText>Short description text of the item</ShortText></Text>
</Item>
<Sections>
<Section>
<Text><ShortText>Short description text of the item</ShortText></Text>
</Section>
</Sections>
</Section>
</Sections>
</Calculation>
As you can see, my data is quite complex. What would be the best approach to work with this xml data.
I have tried everything from defining models with associations to converting the xml into JSON... I have really no clue, how I could get this data into a xmlTreeStore.
Note, that i am working with sencha architect. =)
Greets,
Richard