[fpc-pascal] another xml question

Chris Moody inquiry at greensnakedesign.com
Fri Jul 24 20:57:01 CEST 2015


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 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?

Thanks in advance!

Chris



More information about the fpc-pascal mailing list