XMLFormatter is a Class. As so, u need to instantiate an object of that class before using it. First declare a pointer to the XMLFormatter class, and then create a new instance of it using that pointer. Remember to free it afterwards.
 
...{
gFormatter* XMLFormatter;
gFormatter = new XMLFormatter(<parameters of the constructor>);
.....
delete gFormatter;
}...
 
Hope this will help
 
Jorge
----- Original Message -----
Sent: Wednesday, February 20, 2002 12:24 PM
Subject: Imlementation

Hi,

my name is Sofia Almeida, and I'm from Portugal , Lisbon.

I have work with DOMParser (XML4C) and i need to Know, how I initialize an object from class: XMLFormatter.

Well, the problem is: I need to read de name into tags and arguments.

I have this code:

  "gFormatter.formatBuf(nodeValue.rawBuffer(), lent, XMLFormatter::CharEscapes);"

and the error occured is:

"'gFormatter' : undeclared identifier"

Please can you help me?

Thank you, for your time,

Sofia Almeida

SystemHouse, Lisboa

[EMAIL PROTECTED]

 



Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games

****************************************************************
Este mensaje ha sido analizado con una herramienta
de deteccion de virus para su seguridad.
Ministerio de Justicia
***************************************************************

Reply via email to