From clizio at clizio.com Wed May 21 15:25:32 2008 From: clizio at clizio.com (Clizio Merli) Date: Tue Jul 1 03:37:21 2008 Subject: [xsde-users] XSD/e for mixed type applications Message-ID: <4834772C.8090507@clizio.com> I have decide to use XSD/e for writing applications handling document workflows defined through xml schemas. In this concern I need to develop applications able to read input xml files, complete their contents in some elements e rewrite updated xml files. Which technique should I use for this? Thanks in advance Clizio Merli From boris at codesynthesis.com Thu May 22 04:20:52 2008 From: boris at codesynthesis.com (Boris Kolpackov) Date: Tue Jul 1 03:37:21 2008 Subject: [xsde-users] XSD/e for mixed type applications In-Reply-To: <4834772C.8090507@clizio.com> References: <4834772C.8090507@clizio.com> Message-ID: <20080522082052.GC20398@karelia> Hi Clizio, Clizio Merli writes: > I have decide to use XSD/e for writing applications handling document > workflows defined through xml schemas. > In this concern I need to develop applications able to read input xml > files, complete their contents in some elements e rewrite updated xml > files. > Which technique should I use for this? You can use the Embedded C++/Parser mapping to parse your XML and construct an object model. You can then modify the object mode in your application and use the Embedded C++/Serializer mapping to write it back to XML. For introductions to these mappings refer to the getting started guides: http://www.codesynthesis.com/projects/xsde/documentation/cxx/parser/guide/ http://www.codesynthesis.com/projects/xsde/documentation/cxx/serializer/guide/ Boris