1000
... некоторые данные
<component id="2">
...some data
</component>
....
....
<component id="10">
...some data
</component>
</components>
I have the above XMl and I want to fetch data from all the components for a particular idea. (For eg. 1000). Currently I'm using record as component.
new Ext.data.Store ({reader: new Ext.data.XmlReader ({record:'component', id: 'id'}, [... Данные для выборки]})
Я не могу получить идентификатор идеи. Я пытался использовать функцию parentNode.getAttribute (), но из-запо некоторым причинам это не работает.