Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - How do I update property with CXTPPropExchange
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How do I update property with CXTPPropExchange

 Post Reply Post Reply
Author
Message
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Location: Denmark
Status: Offline
Points: 683
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post Topic: How do I update property with CXTPPropExchange
    Posted: 09 June 2008 at 7:11am
I'm using the CXTPPropExchange class to exchange properties to an XML file. This all works great, however.
 
1) How do I load an XML file and change one property and save it again. I'm trying to find a way of combining LoadFromFile and SaveToFile without reconstructing the entire XML file every time before saving.
 
2) Another question, how can I test an XML file against a Schema file, and see if it is valid?
 
-cpede
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 09 June 2008 at 3:54pm

Hi,

1.  Have to work. call Load and then Save.
 
2. I don't see such method in MSXML :-(
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Location: Denmark
Status: Offline
Points: 683
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post Posted: 10 June 2008 at 4:19am
1) Yes Load and Save works, my mistake.
 
2) Not 100% sure that is right, please refer to: http://marknelson.us/2002/01/01/xml-schema-validation/
 
-cpede
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.048 seconds.