Print Page | Close Window

How do I update property with CXTPPropExchange

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=10961
Printed Date: 15 November 2025 at 6:26am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How do I update property with CXTPPropExchange
Posted By: cpede
Subject: How do I update property with CXTPPropExchange
Date 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



Replies:
Posted By: Oleg
Date 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


Posted By: cpede
Date 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/ - http://marknelson.us/2002/01/01/xml-schema-validation/
 
-cpede



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net