I want to generate a list of the "file" attribute contents from let's say 0.3 -> 0.5: ( I shall input 0.3,0.4,0.5 to the program I'm making, and it auto generates the content I need )
Updates\0.3.xml
Updates\0.4.xml
Updates\0.5.xml
What's the easiest way to do that ?
p.s: if i were to generate an updates list of all lines inside the xml file, it would be easy, but i'm looking for specific lines.
Question
murderdoll
Hello,
Here is the scenario, let's say I have the following XML file:
<updates>
<update date="2-2-2002" version="0.1" file="Updates\0.1.xml"></update>
<update date="5-5-2002" version="0.2" file="Updates\0.2.xml"></update>
<update date="6-5-2002" version="0.3" file="Updates\0.3.xml"></update>
<update date="6-5-2002" version="0.4" file="Updates\0.4.xml"></update>
<update date="6-5-2002" version="0.5" file="Updates\0.5.xml"></update>
</updates>
I want to generate a list of the "file" attribute contents from let's say 0.3 -> 0.5: ( I shall input 0.3,0.4,0.5 to the program I'm making, and it auto generates the content I need )
Updates\0.3.xml
Updates\0.4.xml
Updates\0.5.xml
What's the easiest way to do that ?
p.s: if i were to generate an updates list of all lines inside the xml file, it would be easy, but i'm looking for specific lines.
Link to comment
Share on other sites
10 answers to this question
Recommended Posts