But I don't get it to work... :(
I don't know how many nodes are in there. There could be none or hundrets of entries...
The only nodes I'm knowing of are <tools> and <help_plugin>...
Could someone give me an example for this, please?
thx, Acki
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm verry new to XML and TinyXML !!!
I whant to get all tools and helps from an XML script that looks like this:
[code]
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocksConfig version="1">
<tools>
<tool00>
<NAME>
<str>Tool 1</str>
</NAME>
<COMMAND>
<str>c:\Tool1.exe</str>
</COMMAND>
<PARAMS>
<str />
</PARAMS>
<WORKINGDIR>
<str>c:\</str>
</WORKINGDIR>
</tool00>
<tool01>
<NAME>
<str>Tool 2</str>
</NAME>
<COMMAND>
<str>c:\Tool2.exe</str>
</COMMAND>
<PARAMS>
<str />
</PARAMS>
<WORKINGDIR>
<str>c:\</str>
</WORKINGDIR>
</tool01>
</tools>
<help_plugin>
<help0>
<NAME>
<str>Hilfe 1</str>
</NAME>
<FILE>
<str>F:\Sources\IrrComp\out\IrrComp.hlp</str>
</FILE>
</help0>
<help1>
<NAME>
<str>Hilfe 2</str>
</NAME>
<FILE>
<str>F:\Sources\IrrComp\out\Help.hlp</str>
</FILE>
</help1>
<DEFAULT int="-1" />
</help_plugin>
</CodeBlocksConfig>
[/code]
But I don't get it to work... :(
I don't know how many nodes are in there. There could be none or hundrets of entries...
The only nodes I'm knowing of are <tools> and <help_plugin>...
Could someone give me an example for this, please?
thx, Acki