Hi, i would like to know, _how_ do you save the xml file with xerces. I try it with the DOMSerializer, but VisualStudio fails to compile the constructor in the .hpp file: DOMSerializer (const std::string& encoding << defaultEncoding_);
The errors reported are: C2629,C2238,C2629,C2238 Please help, so i can save my XML Files, thanks... Regards, Sascha Presnac #>-----Original Message----- #>From: Paul Tan [mailto:[EMAIL PROTECTED]] #>Sent: Tuesday, October 30, 2001 1:56 PM #>To: [EMAIL PROTECTED] #>Subject: Modifying DOM_Node #> #> #>Hi, #> #>I have the following XML structure ... #> #><Friends> #> <Friend name="Paul"> #> <Hobby type="sport"/> #> <Hobby type="reading"/> #> <GirlFriend name="Pauline"> #> <Hobby type="sport"/> #> <Hobby type="reading"/> #> </GirlFriend> #> <GirlFriend name="Paula"> #> <Hobby type="sport"/> #> <Hobby type="reading"/> #> </GirlFriend> #> </Friend> #> <Friend name="John"> #> <Hobby type="sport"/> #> <Hobby type="reading"/> #> </Friend> #></Friends> #> #>I would like to know how to use Xerces XML DOM API to modify intermediate #>DOM_Node (e.g "Pauline's hobby") efficiently ? Initially I attemptted to #>remove it and then add it (modify version) again ....and when I finally #>write to the file, the modified DOM_Node get added at the bottom .... #> #>Please advice. #> #>Thank you. #>Paul #> #> #>--------------------------------------------------------------------- #>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]
