| CallXML 2.0 Development Guide | Home | Frameset Home |
| cache | Data Type: (yes|no) | Default: none - attribute is optional |
| Allows manual override over the caching mechanism. If this attribute is empty the default system caching is used. "yes" should force the system to use the cache all the time, "no" means that no cache should be used at all. | ||
| method | Data Type: (GET|POST|BIN|ASC) | Default: none - attribute is optional |
The method attribute specifies the HTTP method to use when sending the request. Allowable values for the method attribute are:
Any other values defined for this attribute will result in a fatal error. If no method is specified, then it will always default to 'GET'. | ||
| submit | Data Type: (variable name) | Default: none - attribute is optional |
| List of variables to submit to the called URL/URI can be "all" or "*" for everything, or a comma delimited list of variables to submit: submit = "Variable1, Variable2, Variable3, Variable5, Variable9" Note that you can also specify "nothing" if no variables are to be submitted. If non-existant variable names are specified a fatal error will result. Also, if "all" or "*" is specified, no other variable names should be listed with it. | ||
| value | Data Type: string - URI | Default: none - attribute is required |
| Either a full URL (http://MyServer.com/MyDocument.xml) or a local URI pointing to a <block> label in the same CallXML file (e.g., #main_menu). Supported URL formats include:
value="ftp://me:door@ftp.me.com:2345/myapp/start.xml" | ||
| onerror type="document" | Document was unable to be fetched for all the reasons web servers are unavailable |
| onerror type="execution" | Indicates that a child session specified in the <run> tag points to an invalid URI. |
| <?xml version="1.0" encoding="UTF-8"?>
<callxml version="2.0"> <block label="B1"> <text> Going places is always fun. Lets go to another block. </text> <goto value="#B3"/> </block> <block label="B2"> <text> Thats right. this block will be skipped entirely. </text> </block> <block label="B3"> <text> Whee. We are now in block label B 3. </text> </block> </callxml> |
| <?xml version="1.0" encoding="UTF-8"?>
<callxml version="2.0"> <block label="B1"> <assign var="Var_1" value="Kubrick"/> <text> Lets go to an entirely separate page. While we are at it, lets send our variable along for the ride as well. </text> <goto value="Goto_Target.xml" submit="Var_1" cache="yes" method="get"/> </block> </callxml> |
| <?xml version="1.0" encoding="UTF-8"?>
<callxml version="2.0"> <block label="B1"> <text> Hey, we made it to our second document. And our variable, with a value of $Var_1; made it, too! </text> </block> </callxml> |
| ANNOTATIONS: EXISTING POSTS |
| login |