Re: [fpc-pascal] another xml question

2015-08-06 Thread Marc Santhoff
On Do, 2015-08-06 at 01:11 -0700, Chris Moody wrote: > Hi Marc, > > Thanks for the feedback. One more question and I think I'm done for now > and able to finish the program I'm writing: > > If FindNode does not locate a node with the given name, what does it > return? I don't know. It looks li

Re: [fpc-pascal] another xml question

2015-08-06 Thread Chris Moody
Hi Marc, Thanks for the feedback. One more question and I think I'm done for now and able to finish the program I'm writing: If FindNode does not locate a node with the given name, what does it return? Thanks, Chris On 07/24/2015 01:34 PM, Marc Santhoff wrote: On Fr, 2015-07-24 at 11:57

Re: [fpc-pascal] another xml question

2015-07-24 Thread Marc Santhoff
On Fr, 2015-07-24 at 11:57 -0700, Chris Moody wrote: > Would it be easiest to introduce a fourth element to the XML that says > how many children the 3rd element has? Or is there an easy way already > to get this and just run a for next loop to read each child? Maybe sth. like this would do:

[fpc-pascal] another xml question

2015-07-24 Thread Chris Moody
Hi all, For the app I'm writing, it will have 3 elements in the XML document it reads. The first 2 will only have one child element. The third one will be from 1 to whatever. I'm also designing the app that will create the XML file for the app to read also, so a couple of questions: Would