DOM Reference XML Visual C++6 / MFC

Visual Studio68
Hello,



I search a good and easy example for XML. Where can I find this.



I will only for step 1 read and write this XML file.

<PARAMS>

<TEXT>TestProjekt</TEXT>

<COLOR>

<RED>234</RED>

<GREEN>111</GREEN>

<BLUE>33</BLUE>

</COLOR>

<FONT>

<FONT_FILENAME>Arial.ttf</FONT_FILENAME>

<SIZE>12</SIZE>

</FONT>

</PARAMS>





#define ISchemaIdentityConstraint_get_name(This,name) \

(This)->lpVtbl ->get_name(This,name)



#if defined(__cplusplus) && !defined(CINTERFACE)



MIDL_INTERFACE("1936BF85-7B36")

IXMLDOMAttribute : public IXMLDOMNode

{

public:

virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE

get_name(

/* [retval][out] */ BSTR *attributeName) = 0;



virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE

get_value(

/* [retval][out] */ VARIANT *attributeValue) = 0;



virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE

put_value(

/* [in] */ VARIANT attributeValue) = 0;



};



I use following:

Visual C++6 with MFC and WinXP Professional

and also the DOM Referenz msxml2.h



Thanks a lot and I wish a nice christmas day.



Best regards Sandra


-