[SOLVED] List XML elements
Posted: Tue Jan 05, 2010 4:32 am
I have the following XML:
Now i need a regex to get list of the elements:
or it can be also an array.
Code: Select all
<root>
<set key="sth" />
<uname>Somebody</uname>
<container>
<uname>Somebody</uname>
<container>
Some content
</container>
</container>
Some text
</root>Code: Select all
root,set,uname,container