Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - Merging schemas >Thread Next - constraints on attributes as a validation check (ish) Re: Merging schemasTo: Rich Adili <Rich.Adili@----.---> Date: 8/17/2007 10:29:00 PM Hi Rich, Rich Adili <Rich.Adili@x...> writes: > <DataWrapperNode><DataNode>yadyada</DataNode></DataWrapperNo > de> > > I would like to run this thing through a code generator and what I need > as output is code representing the union of the two. Does this problem > have an elegant solution? Most data binding tools (I assume that's what you mean by a code generator) would allow you to extract the inner XML and parse/validate it using the code generated for DataNode. If a data binding tool you are using support customization, then you might be able to customize the type generated for DataWrapperNode so that this parsing/validation happens transparently to the user. -Boris -- Boris Kolpackov Code Synthesis Tools CC http://www.codesynthesis.com Open-Source, Cross-Platform C++ XML Data Binding From nandakol@h... Mon Aug 20 08:10:01 2007 Received: from maggie.w | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
