From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,218b3332778031f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-26 02:39:38 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news-FFM2.ecrc.net!news1.dtag.de!RRZ.Uni-Koeln.DE!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: A little database Date: Tue, 26 Nov 2002 10:39:37 +0000 (UTC) Organization: GMUGHDU Message-ID: References: <3dd49c15$0$303$bed64819@news.gradwell.net> <4519e058.0211151348.4e882a74@posting.google.com> <4519e058.0211180701.2922d058@posting.google.com> <3DE29D8B.68CAC0A@easystreet.com> NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1038307177 15616 134.91.1.34 (26 Nov 2002 10:39:37 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Tue, 26 Nov 2002 10:39:37 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/800)) Xref: archiver1.google.com comp.lang.ada:31228 Date: 2002-11-26T10:39:37+00:00 List-Id: achrist@easystreet.com wrote: : : In particular, when updating the parent of a parent-child relationship : (where the XML has the children in-line within the parent) I had to : replace the entire parent + children, passing the entire subtree as a : single string to MSXML. : : Are there newer API's (MSXML2 or ???) that provide for better features : for updating XML? MSXML didn't seem to be designed with updates in mind. That's very likely; XML doesn't seem to be designed with updates in mind either. Given that it is used for passing data around, and in particular, is used in translations, and given that the corresponding standard (DSSSL, now XSLT) uses Scheme and a functional approach, you construct one doucment tree from another, using subtrees as in your case (if I've understood correctly) to make changes. However, if that isn't tolerable, for example if you don't have enough memory for a full DOM tree etc, you are free to build your own data structure as with any other data input. -- georg