Print Page | Close Window

Iterating XML Properties

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=4602
Printed Date: 10 November 2025 at 8:21pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Iterating XML Properties
Posted By: Simon HB9DRV
Subject: Iterating XML Properties
Date 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



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


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


Posted By: Simon HB9DRV
Date 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



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