![]() |
How to add XML to XML |
Post Reply
|
| Author | |
cpede
Senior Member
Joined: 13 August 2004 Location: Denmark Status: Offline Points: 683 |
Post Options
Thanks(0)
Quote Reply
Topic: How to add XML to XMLPosted: 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
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
jimmy
Senior Member
Joined: 11 November 2003 Location: Austria Status: Offline Points: 516 |
Post Options
Thanks(0)
Quote Reply
Posted: 12 September 2008 at 3:05am |
|
Why not use PX_String or PX_Blob
Jimmy |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
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 |