Re: Dom parser problem with transcode

2004-03-15 Thread Alberto Massari
At 12.59 15/03/2004 +0100, you wrote: Hi, I'm having a problem building a Domparser. The code below run properly qnd after debugging it exits normally as well. It seems the problem comes from the transcode method. If i remove the transcode it returns the corresponding encoded value but like that i

RE: Dom parser problem with transcode

2004-03-15 Thread Hiran.Chaudhuri
Message- > From: David --- [mailto:[EMAIL PROTECTED] > Sent: Monday, March 15, 2004 2:11 PM > To: [EMAIL PROTECTED] > Subject: RE: Dom parser problem with transcode > > > Thanks, > What would be then the best way to get the element > values of of the following XML docum

RE: Dom parser problem with transcode

2004-03-15 Thread Gareth Reakes
> > -Original Message----- > > > From: David --- [mailto:[EMAIL PROTECTED] > > > Sent: Monday, March 15, 2004 7:00 AM > > > To: [EMAIL PROTECTED] > > > Subject: Dom parser problem with transcode > > > > > > > > > > > > Hi,

RE: Dom parser problem with transcode

2004-03-15 Thread David ---
al Message- > > From: David --- [mailto:[EMAIL PROTECTED] > > Sent: Monday, March 15, 2004 7:00 AM > > To: [EMAIL PROTECTED] > > Subject: Dom parser problem with transcode > > > > > > > > Hi, > > I'm having a problem building a Domparser

RE: Dom parser problem with transcode

2004-03-15 Thread Jesse Pelton
M > To: [EMAIL PROTECTED] > Subject: Dom parser problem with transcode > > > > Hi, > I'm having a problem building a Domparser. > The code below run properly qnd after debugging it > exits normally as well. > > It seems the problem comes from the transcod

Re: Dom parser problem with transcode

2004-03-15 Thread Gareth Reakes
Hi, are you aware that getNodeValue on an element returns NULL? Gareth -- Gareth Reakes, Managing Director+44-1865-811184 Parthenon Computinghttp://www.parthcomp.com On Mon, 15 Mar 2004, [iso-8859-1] David --- wrote: > > Hi, > I'm having a problem buildi

Dom parser problem with transcode

2004-03-15 Thread David ---
Hi, I'm having a problem building a Domparser. The code below run properly qnd after debugging it exits normally as well. It seems the problem comes from the transcode method. If i remove the transcode it returns the corresponding encoded value but like that it return nothing and it dies after i

Re: Linux xerces parser problem

2003-10-17 Thread David Sheldon
On Fri, Oct 17, 2003 at 04:58:40PM +0100, David Sheldon wrote: > Correctly representing the character in UTF-8 might be possible, > depending on what you are using to create the document, however I am not > convinced this would be the easiest. In this case this character should > be represented by

Re: Linux xerces parser problem

2003-10-17 Thread David Sheldon
On Fri, Oct 17, 2003 at 04:09:31PM +0100, Greg Farrell wrote: > The following text is correctly parsed in windows, > > > (?[ASSIGN,Found,TEXT,YES])|([ASSIGN,Found,TEXT,FALSE]) > > > however in linux the cross of loraine (?) character is stripped, as > is the data immediately after it

Linux xerces parser problem

2003-10-17 Thread Greg Farrell
Hi, we use the xerces xml c++ parser v1.7 to read in xml data. The following text is correctly parsed in windows, (†[ASSIGN,Found,TEXT,YES])|([ASSIGN,Found,TEXT,FALSE]) however in linux the cross of loraine (†) character is stripped, as is the data immediately after it. This a

RE: Parser problem

2001-03-27 Thread Jones, Brian O.
Thanks that's what I need, I appreciate all the help. > -Original Message- > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, March 27, 2001 11:45 AM > To: [EMAIL PROTECTED] > Subject: RE: Parser problem > > > Hi, Br

RE: Parser problem

2001-03-27 Thread peiyongz
Hi, Brian, Please try this. DOM_NodeList nodeList = doc.getElementsByTagName("HostName"); // Not "Server" for( unsigned int i=0; i on 03/27/2001 11:05:21 AM Please respond to [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" <[EMAIL P

RE: Parser problem

2001-03-27 Thread Jones, Brian O.
27, 2001 10:57 AM > To: [EMAIL PROTECTED] > Subject: Re: Parser problem > > > Hi, Brian, > > Is the ###doc### a typo? > > for(DOM_Node child=doc.getFirstChild(); child!=NULL; > child=child.getNextSibling() ) > { > if

Re: Parser problem

2001-03-27 Thread peiyongz
sers Development IBM Toronto Laboratory email: [EMAIL PROTECTED] Phone: (416)448-4088; Fax: (416)448-4414; T/L: 778-4088 "Jones, Brian O." <[EMAIL PROTECTED]> on 03/27/2001 09:55:58 AM Please respond to [EMAIL PROTECTED] To: "'xercesDev'" <[EMAIL PROTECTED]>

Parser problem

2001-03-27 Thread Jones, Brian O.
Hello all, I am having no luck getting values from the children nodes. Any suggestions on what to do? here is a code subset of what I did... DOM_Document doc = parser->getDocument(); DOM_NodeList nodeList = doc.getElementsByTagName("Server"); for(DOM_Node child=d