Archive: reading value from xml


reading value from xml
I have a config file(xml document) which contains only one line of data i.e <id>8888</id>

In my installer I have to read the value of this id i.e 8888.
id value can have 4-6 digits.

Could u pls let me know how to do this is nsis? or refer me to the manuals or any related documents.


http://nsis.sourceforge.net/Docs/AppendixE.html#E.3.4

Or, if you're really sure it only contains one line, you can simply use FileOpen->FileRead->FileClose, and then use StrCpy to remove the first 4 and last 5 bytes.