Print Page | Close Window

How to add XML to XML

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=12137
Printed Date: 02 August 2025 at 10:38am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to add XML to XML
Posted By: cpede
Subject: How to add XML to XML
Date Posted: 11 September 2008 at 9:23am
Is there an easy way to add XML formatted text to XML using the CXTPPropExchange class. I have a string that is already formatted in XML and want to add this to an XML file, e.g. using something like:
 
PX_XML(pPX,...)
 
Or is there another easy way using the CXTPPropExchange class?
 
-cpede



Replies:
Posted By: Oleg
Date Posted: 12 September 2008 at 1:02am

Hi,

No, There is no such method. You have to parse it first to CXTPPropExchangeXMLNode and then call CXTPPropExchangeXMLNode::PutSection.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: jimmy
Date Posted: 12 September 2008 at 3:05am
Why not use PX_String or PX_Blob

  Jimmy



Posted By: Oleg
Date Posted: 15 September 2008 at 5:41am
Hi,
 
PX_String  will insert it as string <XML1 inner="<XML2/>" />
Seems task to insert it as real XML:  <XML1><XML2/></XML1>


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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