![]() |
How do I update property with CXTPPropExchange |
Post Reply
|
| Author | |
cpede
Senior Member
Joined: 13 August 2004 Location: Denmark Status: Offline Points: 683 |
Post Options
Thanks(0)
Quote Reply
Topic: How do I update property with CXTPPropExchangePosted: 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
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
cpede
Senior Member
Joined: 13 August 2004 Location: Denmark Status: Offline Points: 683 |
Post Options
Thanks(0)
Quote Reply
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
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |