Hi Steve, What you described isn't supported by Xerces (as far as I know). The DOM Level 3 Validation Spec (http://www.w3.org/TR/DOM-Level-3-Val/ - still a working draft), supports the functions you desire, though I don't know if there are any plans for Xerces to implement that spec.
----------------------------------------- Michael Glavassevich [EMAIL PROTECTED] Candidate for Bachelor of Applied Science Computer Engineering University of Waterloo On Fri, 30 May 2003, Stephen Gross wrote: > Hi there--I'm new to Xerces, and would like to know if it is possible to do > the following with it: > > I've got an XSD file (FOO.XSD) that describes the format of the XML files I > want my CPP to generate. Here's how I imagine it working: > > (1) The CPP program creates a document, bound in some way to FOO.XSD. > (2) The CPP program then starts adding elements to the document, which are > validated on-the-fly (because of the binding to FOO.XSD). The idea is that > if the CPP tries to add an invalid element, the document handler won't let > that happen. > > So, is this possible? > > Thanks in advance, > --Steve > > _________________________________________________________________ > MSN 8 with e-mail virus protection service: 2 months FREE* > http://join.msn.com/?page=features/virus > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
