Re: Getting number of children of the root in an XML object

2006-03-31 Thread Mr. Shawn H. Corey
On Fri, 2006-31-03 at 15:42 -0500, Dave Adams wrote: > I am trying to get the number of children of the root element and my script > gives me the number of children of the children instead. > > Here is my XML document (ejournlist.xml): > > > > > Africa Confidential > Vol. 1, no.1

Getting number of children of the root in an XML object

2006-03-31 Thread Dave Adams
I am trying to get the number of children of the root element and my script gives me the number of children of the children instead. Here is my XML document (ejournlist.xml): Africa Confidential Vol. 1, no.1 PDFformat Time Magazine Vol. 1, no.1 TXTfo