Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
07-04-2006, 06:15 PM #1
Why doesn't XML-RPC have attributes?
Here's an example procedure call from the spec, minus headers:
<?xml version="1.0"?> <methodCall> <methodName>examples.getStateName</methodName> <params> <param> <value><i4>41</i4></value> </param> </params> </methodCall>
Am I missing some logic here? It seems to be a false hierarchy (hence the same line, no whitespace formatting, I guess) and to be unduly verbose even by XML standards, but I don't think there's a hard-and-fast rule about what should be an attribute, so maybe it's ok. I know it'll work for me either way so long as I'm consistent (I'm coding the client and the server), I'm just looking for some ideological guidance.