G
Guoqi Zheng
Dear Sir,
I have many small XML files contain all kind of data, very often, I need to
get a summary of the XML file and show part in a repeater control...
For example... I have 10 xml files in one folde.. 1.xml, 2.xml, 3.xml,
....... 10.xml.
Every XML file contains a summary tag and a detail list. for example..
******************************************
<xml>
<summary>
there are some text here
</summary>
<details>
<detail id=2>some contentssfasfsd. sfsafs.s fsdfsdf
</detail>
<detail id=5>dsfdsfsd </detail>
</details>
*******************************************
I can read the XML into a dataset, then get the first summary part. However,
this will cause a lot of I/O overhead. What should I to only read the first
part (<summary>....</summary> of those XML files?
I actually need to all those files (10 XML file in this case), get the
summary part of every file, add it to a arraylist and bind to a repeater
control.
Thanks in advanced...
Guoqi Zheng
I have many small XML files contain all kind of data, very often, I need to
get a summary of the XML file and show part in a repeater control...
For example... I have 10 xml files in one folde.. 1.xml, 2.xml, 3.xml,
....... 10.xml.
Every XML file contains a summary tag and a detail list. for example..
******************************************
<xml>
<summary>
there are some text here
</summary>
<details>
<detail id=2>some contentssfasfsd. sfsafs.s fsdfsdf
</detail>
<detail id=5>dsfdsfsd </detail>
</details>
*******************************************
I can read the XML into a dataset, then get the first summary part. However,
this will cause a lot of I/O overhead. What should I to only read the first
part (<summary>....</summary> of those XML files?
I actually need to all those files (10 XML file in this case), get the
summary part of every file, add it to a arraylist and bind to a repeater
control.
Thanks in advanced...
Guoqi Zheng