<?xml version="1.0" encoding="utf-8" ?>
<list>
<software>
<name>Software 1</name>
<icon></icon>
</software>
<software>
<name>Control 2</name>
<icon></icon>
</software>
</list>
This is more common. Many examples on the Internet are in this format. I will also write the main code.
var Info= ([
'name', 'icon''
]);
reader=new ({
record: 'software',
id: 'name'
}, Info);
Here is another format of xml
<?xml version="1.0" encoding="utf-8" ?>
<softwarelist>
<software name="Software 1" icon="" />
<software name="control2" icon="" />
</softwarelist>
The main code to read
var Info= ([
{name: 'name', mapping: '@name'},
{name: 'icon', mapping: '@icon' }
]);
reader=new ({
record: 'software',
id: 'name'
}, Info);
There is only the first way to write the ext help document, and the second way is the method I tried it for almost two hours before I found it. I don’t know the reason yet, but it can be used. I hope the expert can explain it. I'll listen carefully when I'm having a late child!
<list>
<software>
<name>Software 1</name>
<icon></icon>
</software>
<software>
<name>Control 2</name>
<icon></icon>
</software>
</list>
This is more common. Many examples on the Internet are in this format. I will also write the main code.
var Info= ([
'name', 'icon''
]);
reader=new ({
record: 'software',
id: 'name'
}, Info);
Here is another format of xml
<?xml version="1.0" encoding="utf-8" ?>
<softwarelist>
<software name="Software 1" icon="" />
<software name="control2" icon="" />
</softwarelist>
The main code to read
var Info= ([
{name: 'name', mapping: '@name'},
{name: 'icon', mapping: '@icon' }
]);
reader=new ({
record: 'software',
id: 'name'
}, Info);
There is only the first way to write the ext help document, and the second way is the method I tried it for almost two hours before I found it. I don’t know the reason yet, but it can be used. I hope the expert can explain it. I'll listen carefully when I'm having a late child!