Click here to Skip to main content
15,909,373 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: C++ msxml tutorials Pin
Christopher Duncan24-Apr-02 11:47
Christopher Duncan24-Apr-02 11:47 
GeneralRe: C++ msxml tutorials Pin
Todd.Harvey24-Apr-02 7:17
Todd.Harvey24-Apr-02 7:17 
GeneralRe: C++ msxml tutorials Pin
Tom Archer24-Apr-02 16:10
Tom Archer24-Apr-02 16:10 
GeneralRe: C++ msxml tutorials Pin
Tom Archer24-Apr-02 2:53
Tom Archer24-Apr-02 2:53 
GeneralDisplaying TIF files Pin
David Chamberlain17-Apr-02 3:25
David Chamberlain17-Apr-02 3:25 
GeneralRe: Displaying TIF files Pin
Michael A. Barnhart17-Apr-02 8:04
Michael A. Barnhart17-Apr-02 8:04 
GeneralRe: Displaying TIF files Pin
David Chamberlain18-Apr-02 3:16
David Chamberlain18-Apr-02 3:16 
Generalchild nodes Pin
Todd.Harvey16-Apr-02 12:02
Todd.Harvey16-Apr-02 12:02 
I'm generating some C code from XML, and now I want to generate sub Structs.

I know I can do the following (a child node of same name as parent node),
<struct "name"="top">value
<struct "name"="sub">value


But what I'm having problems with is getting the top-level structs with SelectNodes, and then getting sub-level structs with SelectNodes (or other select commands).
I've been doing things like:
//StructList = xDB->m_pDomDocument->getElementsByTagName("Struct");
StructList = xDB->m_pDomDocument->selectNodes("//Struct");

and have not gotten lucky yet.
Dead | X|
GeneralRe: child nodes Pin
Michael A. Barnhart16-Apr-02 16:44
Michael A. Barnhart16-Apr-02 16:44 
GeneralRe: child nodes Pin
Todd.Harvey16-Apr-02 17:09
Todd.Harvey16-Apr-02 17:09 
GeneralRe: child nodes Pin
Michael A. Barnhart17-Apr-02 0:47
Michael A. Barnhart17-Apr-02 0:47 
GeneralRe: child nodes Pin
Todd.Harvey17-Apr-02 8:19
Todd.Harvey17-Apr-02 8:19 
GeneralXML and Binary Data Pin
16-Apr-02 5:05
suss16-Apr-02 5:05 
GeneralRe: XML and Binary Data Pin
Michael A. Barnhart16-Apr-02 11:34
Michael A. Barnhart16-Apr-02 11:34 
GeneralRe: XML and Binary Data Pin
kenlefeb5-Jun-02 0:24
kenlefeb5-Jun-02 0:24 
GeneralXML Pin
Mazdak13-Apr-02 4:17
Mazdak13-Apr-02 4:17 
GeneralRe: XML Pin
MS le Roux13-Apr-02 9:36
MS le Roux13-Apr-02 9:36 
GeneralRe: XML Pin
Mazdak13-Apr-02 10:07
Mazdak13-Apr-02 10:07 
GeneralRe: XML Pin
Michael A. Barnhart16-Apr-02 11:38
Michael A. Barnhart16-Apr-02 11:38 
GeneralRe: XML Pin
Mazdak16-Apr-02 20:29
Mazdak16-Apr-02 20:29 
GeneralRe: XML Pin
jkgh20-Jun-02 7:20
jkgh20-Jun-02 7:20 
GeneralRe: XML Pin
Mazdak21-Jun-02 8:31
Mazdak21-Jun-02 8:31 
GeneralSOAP Newbie Pin
Tom Archer12-Apr-02 8:24
Tom Archer12-Apr-02 8:24 
GeneralRe: SOAP Newbie Pin
Michael A. Barnhart16-Apr-02 11:52
Michael A. Barnhart16-Apr-02 11:52 
GeneralRe: SOAP Newbie Pin
Tom Archer16-Apr-02 12:14
Tom Archer16-Apr-02 12:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.