Hi This works fine: echo $xml -> value; PHP: but this doesn't: $v = "value"; echo $xml -> $v; PHP: I'd get this error: Notice: Array to string conversion in... How can I change that string so php interprets it to an attribute name?
Are you suer you're using the exact same code you posted, or are you using a pseudo example ? That should work as-is.