If it were true XML, I would say all children's Node Names. so: <elema> <elemb> <elemc>
--- On Mon, 1/5/09, Mr. Shawn H. Corey <shawnhco...@magma.ca> wrote: From: Mr. Shawn H. Corey <shawnhco...@magma.ca> Subject: Re: RegExp Searching within To: pjm...@yahoo.com Cc: beginners@perl.org Date: Monday, January 5, 2009, 8:10 AM On Mon, 2009-01-05 at 08:02 -0800, Paul M wrote: > I want to know all the "elements" within elem1. (Note: It is > seriously MALFORMED XML, that is why I am attempting to use regexp). Do you want to know all the children or all the descendants? -- Just my 0.00000002 million dollars worth, Shawn Programming is as much about organization and communication as it is about coding.