RE: Barrage of questions from newbie

2001-08-17 Thread VAN DYCK Pieter
The reason Xerces behaves so "Java-like" is mainly because it implements interfaces like SAX, which was invented in the Java world, and DOM, which was specifically invented to be 'clean' OO (meaning no templates). AFAIK there is no native C++ interface to XML. > Those features are standard in all

Re: Barrage of questions from newbie

2001-08-16 Thread Jason E. Stewart
"J. J. Merelo" <[EMAIL PROTECTED]> writes: > and the second, it's very un-PERL-like; coming from PERL, where > there's a wonderful XML::Simple module that converts a whole XML doc > into a tree You could always use XML::Xerces which is the perl interface to Xerces-C, available at xml.apache.org.

Re: Barrage of questions from newbie

2001-08-16 Thread David_N_Bertoni
> Ram Sadasiv wrote: > > > > In addition to being "un-STL-like" and "un-PERL-like", when you get into > > the XMLPlatformUtils and the framework's insistence to returning memory > > managed objects rather than pointers, it gets kind of "un-C++-like". > > > > Right-on... I was surprised to see get

RE: Barrage of questions from newbie

2001-08-16 Thread Jesse Pelton
ECTED] Subject: Re: Barrage of questions from newbie Those features are standard in all compilers since a couple of years ago, at least; and templates, at least 4 years before that. Besides, nowadays, you can write pretty portable, #ifdef-free, code in C++; major compilers, like GNU c++ and VC++, c

RE: Barrage of questions from newbie

2001-08-16 Thread Murphy, James
OTECTED] > Subject: Re: Barrage of questions from newbie > > > Ram Sadasiv wrote: > > > > In addition to being "un-STL-like" and "un-PERL-like", when > you get into > > the XMLPlatformUtils and the framework's insistence to > retu

Re: Barrage of questions from newbie

2001-08-16 Thread J. J. Merelo
Ram Sadasiv wrote: > > In addition to being "un-STL-like" and "un-PERL-like", when you get into > the XMLPlatformUtils and the framework's insistence to returning memory > managed objects rather than pointers, it gets kind of "un-C++-like". > Right-on... I was surprised to see getChild return c

Re: Barrage of questions from newbie

2001-08-16 Thread Murray Cumming
"J. J. Merelo" wrote: > > Hi, > Just compiled my first xerces-c++ program, and so far, so good, but I > found some things I didn't like. The first thing is that it's very > un-STL-like, that is, STL is barely used (for instance, DOMString is > used instead of the STL string, which already

Re: Barrage of questions from newbie

2001-08-16 Thread Ram Sadasiv
In addition to being "un-STL-like" and "un-PERL-like", when you get into the XMLPlatformUtils and the framework's insistence to returning memory managed objects rather than pointers, it gets kind of "un-C++-like". But, as you point out, options are few... Also, given the number of target operatin

Barrage of questions from newbie

2001-08-16 Thread J. J. Merelo
Hi, Just compiled my first xerces-c++ program, and so far, so good, but I found some things I didn't like. The first thing is that it's very un-STL-like, that is, STL is barely used (for instance, DOMString is used instead of the STL string, which already takes into account locale and all