XML from file with special letters
-
Hello, I got the following in my XML Settings file: I want to read the value of the capture device from the xml file into a string variable. But due to the "&" the value = "...." doesnt seem to be a valid string. Is there a way to handle this? thx in advance, best regards dominik
-
Hello, I got the following in my XML Settings file: I want to read the value of the capture device from the xml file into a string variable. But due to the "&" the value = "...." doesnt seem to be a valid string. Is there a way to handle this? thx in advance, best regards dominik
&
has to be escaped as&
--Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
-
&
has to be escaped as&
--Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
-
&
has to be escaped as&
--Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
Thanks for your answer! But is there a way to get a valid string without manually editing the original string and replacing every & with &? regards Dominik -- modified at 4:29 Friday 27th July, 2007
-
Thanks for your answer! But is there a way to get a valid string without manually editing the original string and replacing every & with &? regards Dominik -- modified at 4:29 Friday 27th July, 2007
No because having an unescaped
&
is what makes it invalid XML.--Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ