xerces-j2 samples : What should one conclude from the o/p of these

2008-03-18 Thread Abbhishek Misra
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.GetElementsByTagNam

Re: parsing XML Schema, no validation required, Problems: Error resolving component 's:schema'...

2008-03-18 Thread Nataliya
Hello, thank you very much for the answer! I included the recommended line in my file and saw that it solved the problem. As I already mentioned, I don't want to edit the files manually, so I want to append the necessary information in form of a node. I tried the following: Element

Re: xerces-j2 samples : What should one conclude from the o/p of these

2008-03-18 Thread Mukul Gandhi
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 t

Re: xerces-j2 samples : What should one conclude from the o/p of these

2008-03-18 Thread Prashant Reddy
>From your description of the output, it looks like you are not missing anything. What kind of examples are you expecting to find ? -Prashant On Tue, 2008-03-18 at 15:40 +0530, Abbhishek Misra wrote: > Hello, > > I'm trying to explore Xerces-j2 and have started with the samples. > > I'm able t

Re: xerces-j2 samples : What should one conclude from the o/p of these

2008-03-18 Thread Abbhishek Misra
Lets consider Sample dom.Writer A sample DOM writer. This sample program illustrates how to traverse a DOM tree in order to print a document that is parsed. usage java dom.Writer (options) uri ... Will it be correct if one believes that these examples are more relevant

Re: xerces-j2 samples : What should one conclude from the o/p of these

2008-03-18 Thread keshlam
The samples illustrate the use of the APIs by performing simple (often trivial) tasks. Their main purpose is additional documentation. They are not necessarily intended to do anything actually useful, though they may contain code worth reusing. They are not intended to be a full tutorial in the u

Re: xerces-j2 samples : What should one conclude from the o/p of these

2008-03-18 Thread Prashant Reddy
I have to say I do not entirely understand your question. The samples shipped with Xerces demonstrate how JAXP API can be used to pick Xerces implementation to accomplish tasks like * Creating a DOM * Parsing DOM to find a node given its name * Using Load & Save to (pretty) print XML I am n