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

Iterating XML Properties

 Post Reply Post Reply
Author
Message
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Topic: Iterating XML Properties
    Posted: 17 July 2006 at 4:18am
Hi Oleg,

Is it possible to get a list of all properites? This is not essential as I know what I am expecting, but for the furture it would be great to be able to dig out a list of all properties.
Simon HB9DRV
Back to Top
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Posted: 17 July 2006 at 6:10am
FWIW I am using your XML routines to great effect in non-PropertyExchange ways - superbly written code.

It's so good to have code like this with your support behind it, even if I did have a frustrating time on Friday figuring it all out :-) .
Simon HB9DRV
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 17 July 2006 at 8:56am
Thanks :)
 
Added public access to m_xmlSectionNode:
 
 CXTPDOMNodePtr GetSectionNode() const {
  return m_xmlSectionNode;
 }
 
 
so you can get this node and:
 
  XTPXML::IXMLDOMNamedNodeMapPtr map;
  xmlSectionNode->get_attributes(&map);
...
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Posted: 17 July 2006 at 9:03am
Originally posted by oleg oleg wrote:

Thanks :)
 
Added public access to m_xmlSectionNode:
 
 CXTPDOMNodePtr GetSectionNode() const {
  return m_xmlSectionNode;
 }
 
 
so you can get this node and:
 
  XTPXML::IXMLDOMNamedNodeMapPtr map;
  xmlSectionNode->get_attributes(&map);
...

Thanks - that'll do the trick
Simon HB9DRV
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.063 seconds.