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
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now