"Decoker, Lydie \(Lydie\)" <[EMAIL PROTECTED]> wrote on 10/09/2006 10:54:32 AM:
> Hello, > > Is it possible to generate a DOM tree from a schema? I would like to > use this tree as the skeleton of the message to be created. In that > way, I would only need to fill the value of the elements. If you're looking for something in Xerces which auto-magically does this for you it doesn't exist. You have to write the code yourself by building a model [1] of the schema and then walking it to create your concept of a skeleton DOM. Perhaps there are already XML tools around which could help you with that. > Thx in advance, > > Lydie [1] http://xerces.apache.org/xerces2-j/javadocs/xs/org/apache/xerces/xs/XSModel.html Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [EMAIL PROTECTED] E-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
