You may add the
XML
file
logical content to the registry (since the registry has, like the
XML
file, a tree structure). However you must use the registry
API
(see the
documentation)[
^] to perform the task (storing content as strings).
As
Richard correctly noted, you shouldn't add too much info to the registry. That is if the
XML file is big then you shouldn't add its content to the registry (as suggested, you should leave the content in the
XML
file and store in the registry just the file path).