sudhi164 Posted August 3, 2011 Posted August 3, 2011 Hi,I have a XML file which contains some values with sapace for a node. When i am trying to read the valeu from VC++ i am getting tha values without space. How to read the copleted valure with out it getting trimed.Example of XML file: <Parameter> <ParameterName>UserOptions/OperatingSystemSettings/Password</ParameterName> <ParameterValue> sudhir </ParameterValue> </Parameter>In above xml observ space at the begining and end of sudhir value. Below is the code i have to read the value.hr = ((MSXML2::IXMLDOMElement*)objXmlNode)->getElementsByTagName(strParameterValueNode)->Getitem(0)->get_text(&strParameterValue);Please let me know if any one knwos how to read teh complet valuesRegards,Sudhir
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now