Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - How to add XML to XML
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to add XML to XML

 Post Reply Post Reply
Author
Message Reverse Sort Order
Oleg View Drop Down
Admin Group
Admin Group


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 Topic: How to add XML to XML
    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
Back to Top
jimmy View Drop Down
Senior Member
Senior Member


Joined: 11 November 2003
Location: Austria
Status: Offline
Points: 515
Post Options Post Options   Thanks (0) Thanks(0)   Quote jimmy Quote  Post ReplyReply Direct Link To This Post Posted: 12 September 2008 at 3:05am
Why not use PX_String or PX_Blob

  Jimmy

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 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
Back to Top
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Location: Denmark
Status: Offline
Points: 647
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post 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
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.109 seconds.