Hey List,
I was wondering how I can get all Attributes of a XML-Tag without
knowing them. The XML could look like following:
<plugin>
<args level="1" depth="2"/>
</plugin>
<plugin>
<args permission="23"/>
</plugin>
Now both plugins use different Attributes in the args tags and the
program doesn't know them. Is there a way to get them? Put them into
an array? I am using PHP5
Thanks a lot and best regards,
Nikolai Onken
I was wondering how I can get all Attributes of a XML-Tag without
knowing them. The XML could look like following:
<plugin>
<args level="1" depth="2"/>
</plugin>
<plugin>
<args permission="23"/>
</plugin>
Now both plugins use different Attributes in the args tags and the
program doesn't know them. Is there a way to get them? Put them into
an array? I am using PHP5
Thanks a lot and best regards,
Nikolai Onken
Comment