RE: Re: parsing xml

2007-02-07 Thread varun.81
have elements with both text and element > content, though. > > -Original Message- > From: varun.81 [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 07, 2007 5:48 AM > To: c-dev@xerces.apache.org > Subject: RE: Re: parsing xml > > > thanx a lot for the he

RE: Re: parsing xml

2007-02-07 Thread Jesse Pelton
e elements with both text and element content, though. -Original Message- From: varun.81 [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 07, 2007 5:48 AM To: c-dev@xerces.apache.org Subject: RE: Re: parsing xml thanx a lot for the helpi have been able to parse the file with inden

RE: Re: parsing xml

2007-02-07 Thread varun.81
wrote: > > I always wondered what that flag was for! > > -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Boris Kolpackov > Sent: Tuesday, February 06, 2007 3:11 PM > To: c-dev@xerces.apache.org > Subject: Re: parsing xml > > Hi Jess

RE: Re: parsing xml

2007-02-06 Thread Jesse Pelton
I always wondered what that flag was for! -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Boris Kolpackov Sent: Tuesday, February 06, 2007 3:11 PM To: c-dev@xerces.apache.org Subject: Re: parsing xml Hi Jesse, "Jesse Pelton" <[EMAIL PROTE

Re: parsing xml

2007-02-06 Thread Boris Kolpackov
Hi Jesse, "Jesse Pelton" <[EMAIL PROTECTED]> writes: > Alternatively, you can write a DTD or schema for your documents and let > Xerces sort out which nodes are white space in element content. You'll > still need to check whether the node you're processing is a text node; > if it is, DOMText::ge

RE: parsing xml

2007-02-06 Thread Jesse Pelton
;s white space in element content. -Original Message- From: Jesse Pelton [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 06, 2007 1:02 PM To: c-dev@xerces.apache.org Subject: RE: parsing xml I'm a specification reader myself, so the only materials I can suggest are a) the XML spe

RE: parsing xml

2007-02-06 Thread Jesse Pelton
e generally well-regarded. Be warned that XML's simple appearance is deceiving. There's a lot to know, and ignorance today can cost you dearly tomorrow. -Original Message- From: varun.81 [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 06, 2007 12:28 PM To: c-dev@xerces.apache.or

RE: parsing xml

2007-02-06 Thread varun.81
t node. Xerces is doing the proper thing. >> >> I'd suggest reading an XML primer and/or reviewing the DOM >> specification. >> >> -Original Message- >> From: varun.81 [mailto:[EMAIL PROTECTED] >> Sent: Tuesday, February 06, 2007 12:00 PM >

RE: parsing xml

2007-02-06 Thread varun.81
g the DOM > specification. > > -Original Message- > From: varun.81 [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 06, 2007 12:00 PM > To: c-dev@xerces.apache.org > Subject: RE: parsing xml > > > when there are no spaces in my xml it gives me the proper >

RE: parsing xml

2007-02-06 Thread Jesse Pelton
tribute node, and another whitespace text node. Xerces is doing the proper thing. I'd suggest reading an XML primer and/or reviewing the DOM specification. -Original Message- From: varun.81 [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 06, 2007 12:00 PM To: c-dev@xerces.apach

RE: parsing xml

2007-02-06 Thread varun.81
If > so, with what message? > > -Original Message- > From: varun.81 [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 06, 2007 11:45 AM > To: c-dev@xerces.apache.org > Subject: RE: parsing xml > > > " > hello > " > > Motti S

RE: parsing xml

2007-02-06 Thread Jesse Pelton
message? -Original Message- From: varun.81 [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 06, 2007 11:45 AM To: c-dev@xerces.apache.org Subject: RE: parsing xml " hello " Motti Shneor-2 wrote: > > Gladly. Only all my attachments were rejected by the list. Is it

RE: parsing xml

2007-02-06 Thread varun.81
" hello " this is the content of the file i am trying to parse Jesse Pelton wrote: > > Could you attach a sample document that fails to parse? If you embed it > in a message, it's subject to rearrangement or misinterpretation. For > instance, my mail client displays a text box instead

RE: parsing xml

2007-02-06 Thread varun.81
t; From: Jesse Pelton [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 06, 2007 6:31 PM > To: c-dev@xerces.apache.org > Subject: RE: parsing xml > > > > Could you attach a sample document that fails to parse? If you embed it > in a message, it's subject to

RE: parsing xml

2007-02-06 Thread Motti Shneor
TED]> http://www.orbograph.com <http://www.orbograph.com/ohttp:/www.orbograph.com/> From: Jesse Pelton [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 06, 2007 6:31 PM To: c-dev@xerces.apache.org Subject: RE: parsing xml Could you attach a sam

RE: parsing xml

2007-02-06 Thread Jesse Pelton
Could you attach a sample document that fails to parse? If you embed it in a message, it's subject to rearrangement or misinterpretation. For instance, my mail client displays a text box instead of your sample document. Also, please note whether sample apps like DOMParse parse the document succes