From 28e0012470e387bd05ddefe165b6f4a7a64809f5 Mon Sep 17 00:00:00 2001 From: Cameron Moore Date: Tue, 24 Dec 2019 16:09:55 -0600 Subject: [PATCH] Update XML docs --- docs/Referencing-Request-Values.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/Referencing-Request-Values.md b/docs/Referencing-Request-Values.md index 7138055..2cc0860 100644 --- a/docs/Referencing-Request-Values.md +++ b/docs/Referencing-Request-Values.md @@ -60,6 +60,9 @@ There are three types of request values: 3. XML Payload Referencing XML payload parameters is much like the JSON examples above, but XML is more complex. + Element attributes are prefixed by a hyphen (`-`). + Element values are prefixed by a pound (`#`). + Take the following XML payload: ```xml @@ -74,7 +77,7 @@ There are three types of request values: ``` - To access a given `user` tag, you must treat them as an array. + To access a given `user` element, you must treat them as an array. So `app.users.user.0.name` yields `Jeff`. Since there's only one `message` tag, it's not treated as an array.