In the past, I have run most of the Xerces-J samples, and they run fine. You need to put xercesSamples.jar and other Xerces JARs (xml-apis.jar and xercesImpl.jar atleast) in the CLASSPATH, and run the samples as documented.
On 3/18/08, Abbhishek Misra <[EMAIL PROTECTED]> wrote: > Hello, > > I'm trying to explore Xerces-j2 and have started with the samples. > > I'm able to execute them but not able to derive scence from most of them !! > > 1. java dom.Counter data/personal-schema.xml > I could understand this : shows count of tags attributes > > 2. java dom.GetElementsByTagName -e email data/personal-schema.xml > it just printed <email> ... > > 3.java dom.Writer data/personal-schema.xml > this printed the existing doc with closing tags appended > > 4. java dom.DOM3 data/personal-schema.xml > this just dumped the doc > > for all these I see the return code as 0 (ie echo $? gives 0) > > and there are a couple of other examples which do not seem to do any thing > > What is one supposed to conclude from these examples ? > Is it the right way to run them , am i missing some thing ?? -- Regards, Mukul Gandhi --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]