Try this:
DOM_Node node;
cout << node.getNodeValue().print(); // no linefeed
cout << node.getNodeValue().println(); // linefeed



> -----Original Message-----
> From: Awasthi, Anand [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, June 08, 2001 3:58 PM
> To:   '[EMAIL PROTECTED]'
> Subject:      RE: sample for down casting DOM_Node to DOM_Entity ??
> 
> ok....now how do i print the Node value on console...
> could you pls give some exapmle code ?? 
> 
> or 
> 
> getNodeValue().transcode() is the only way ?? 
> 
> 
> 
> 
> 
> 
> -----Original Message-----
> From: Adams, David [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 08, 2001 3:55 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: sample for down casting DOM_Node to DOM_Entity ??
> 
> 
> Yes, you should be safe doing it that way. That eliminates my earlier
> theory
> about your screen memory being corrupt. Back to the debugging board on
> that
> one.
> 
> 
> > -----Original Message-----
> > From:       Awasthi, Anand [SMTP:[EMAIL PROTECTED]]
> > Sent:       Friday, June 08, 2001 3:50 PM
> > To: '[EMAIL PROTECTED]'
> > Subject:    RE: sample for down casting DOM_Node to DOM_Entity ??
> > 
> > yeah i did that already and then i used old style casting and 
> > i think that should be safe at least this case ...am i correct ?? 
> > 
> > 
> > 
> > -----Original Message-----
> > From: Adams, David [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, June 08, 2001 3:49 PM
> > To: '[EMAIL PROTECTED]'
> > Subject: FW: sample for down casting DOM_Node to DOM_Entity ??
> > 
> > 
> > > Also, you may want to use the DOM_Node method DOM_Node::getNodeType()
> > and
> > > do
> > > a switch on the result to find out what you are really dealing with.
> > > 
> > > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to