-----Original Message-----Dear Ryan,
From: Jo�o Marcelo Loureiro do Amaral [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 27, 2001 12:45 PM
To: Ryan B. Roleda
Cc: [EMAIL PROTECTED]
Subject: Re: Problems with XML files...
I'd like you help me again...
At moment I'm using the DOMParser Classes for parse xml files. But I�m needing to parse a buffer in memory. How can I do it ?
I tried to use the parse ( const InputSource & source, const bool reuseValidator = false ) method of DOMParser, but I didn't have sucess...
wait for your return.
Thak you.
Jo�o M L Amaral
"Ryan B. Roleda" wrote:
Joao,Morning to You.....
Hello There.... I encountered this before.... an ENTER or New Line character
is a "Node.TEXT_NODE" type. So in order for u to just skipped whenever this
type is encountered, in your loop you have to put something like:for (y = 0 ; y < count ; y++)
{
node = childNodes.item(y);
nodeType = node.getNodeType();
if (nodeType != Node.TEXT_NODE)
{
nodeName = node.getNodeName();
attrMap = node.getAttributes();
.
.
.
}
.
.
.
}Check out the DOM tutorial to know more about Node Types
Hope this will help............
----- Original Message -----
From: "Jo�o Marcelo Loureiro do Amaral" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 21, 2001 10:01 PM
Subject: Problems with XML files...Hi,
I'm using Xerces-C to parse my XML Files. But if the files is
formated with ENTER at final of each XML tags, the DOM Parser get the
ENTER like a child node. How can I do to formated my XML files with
ENTER at final of the tags, without any problems.Thank's
Jo�o M L Amaral
Brazil----------------------------------------------------------------------------
----> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
look at the
MemParse sample code ....
- Problems with XML files... Jo�o Marcelo Loureiro do Amaral
- Re: Problems with XML files... Joseph_Kesselman
- Re: Problems with XML files... Ryan B. Roleda
- Re: Problems with XML files... Jo�o Marcelo Loureiro do Amaral
- Re: Problems with XML files... jeetu . gulati
- Re: Problems with XML files... Ryan Roleda
- Re: Problems with XML files... Jo�o Marcelo Loureiro do Amaral
