carmatic Posted June 16, 2009 Share Posted June 16, 2009 (edited) hey guys, i am completely new to XML... i hope i can eventually get this done basically, i have to make a file with a repeating tag , 'action' , where its almost like the same thing copied and pasted over and over again except for the parts in bold <action what="notepad" who="tom" jake="man" jane="woman" rotation="True" bob="builder" speed="fast" time="1.25"> <subtag variable1="gibberish" variable2="moregibberish" /> <subtag variable1="gibberish" variable2="moregibberish" /> </action> <action what="notepad" who="tom" jake="man" jane="woman" rotation="True" bob="builder" speed="fast" time="2.5"> <subtag variable1="gibberish" variable2="moregibberish" /> <subtag variable1="gibberish" variable2="moregibberish" /> </action> <action what="notepad" who="tom" jake="man" jane="woman" rotation="True" bob="builder" speed="fast" time="3.75"> <subtag variable1="gibberish" variable2="moregibberish" /> <subtag variable1="gibberish" variable2="moregibberish" /> </action> .... and so on and so on basically for every copy of the 'action' tag, the number has to increase by a set amount pardon me if theres an error in the XML, i just made it up on the spot to give a simple example Edited June 16, 2009 by carmatic Link to comment Share on other sites More sharing options...
0 carmatic Posted June 20, 2009 Author Share Posted June 20, 2009 ideas, anyone? Link to comment Share on other sites More sharing options...
0 david13lt Posted June 20, 2009 Share Posted June 20, 2009 State your question/problem, because I do not understand what extactly you want... Link to comment Share on other sites More sharing options...
0 boogerjones Posted June 20, 2009 Share Posted June 20, 2009 carmatic: Pretend you are one of us and have no idea what the problem is. Then ask yourself: "What information would a person need in order to solve the problem?" Then give us that information, along with a logical question, and we'll be able to help. Link to comment Share on other sites More sharing options...
Question
carmatic
hey guys, i am completely new to XML... i hope i can eventually get this done
basically, i have to make a file with a repeating tag , 'action' , where its almost like the same thing copied and pasted over and over again except for the parts in bold
<action what="notepad" who="tom" jake="man" jane="woman" rotation="True" bob="builder" speed="fast" time="1.25">
</action>
<action what="notepad" who="tom" jake="man" jane="woman" rotation="True" bob="builder" speed="fast" time="2.5">
</action>
<action what="notepad" who="tom" jake="man" jane="woman" rotation="True" bob="builder" speed="fast" time="3.75">
</action>
.... and so on and so on
basically for every copy of the 'action' tag, the number has to increase by a set amount
pardon me if theres an error in the XML, i just made it up on the spot to give a simple example
Edited by carmaticLink to comment
Share on other sites
3 answers to this question
Recommended Posts