Hi Bill, No, I don't think Witango supports semi-colons as argument delimiters.
Although XHTML conforms to the strict rules of XML, and the & is not very pretty - it's still functional. Typically, when a user clicks a link from a XHTML webpage, that & is translated by the browser back to just '&' and that is typically what the Witango Server will read on the incoming request. It should still be functional. Your question is a good one though, because other development platforms can support other characters for argument delimiters, but I think this is usually more a legacy thing. As well, your suggestion wouldn't solve your problem if you have an external link to an address that contains an ampersand. It could be an interesting feature to have a configuration variable that specified an alternative delimiter, something like ALTARGUMENTDELIM=; In the meantime, if you want to use a semi-colon, you'll have to parse the arguments and values yourself at the beginning of each TAF and create variables out your arguments, with something like: <@ASSIGN local$tmp_args VALUE="<@TOKENIZE VALUE='<@CGIPARAM HTTP_SEARCH_ARGS>' CHARS=';'"> <@FOR STOP="<@NUMCOLS ARRAY=local$tmp_args>"> <@ASSIGN local$tmp_arg VALUE="<@TOKENIZE VALUE='<@VAR local$tmp_args[1,<@CURROW>]>' CHARS='='>"> <@ASSIGN NAME="arg_<@VAR local$tmp_arg[1,1]>" VALUE="<@VAR local$tmp_arg[1,2]>" SCOPE="local"> </@FOR> So prog?x=1&y=2 would be assigned two variables with the following names and values: local$arg_x=1 local$arg_y=2 Note: Don't forget about the '#' hash symbol, this is also an argument delimiter. Hope this helps in some way. Cheers..... Scott Cadillac, Witango.org - http://witango.org 403-281-6090 - [EMAIL PROTECTED] -- Information for the Witango Developer Community --------------------- XML-Extranet - http://xmlx.ca 403-281-6090 - [EMAIL PROTECTED] -- Well-formed Development (for hire) --------------------- > -----Original Message----- > From: Bill Conlon [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 09, 2003 6:23 PM > To: [EMAIL PROTECTED] > Subject: Witango-Talk: Search argument separators > > > Does Witango 5 allow ";" (semicolon) as an argument separator so > > http://example.org/prog?x=1&y=2 > > can be replaced by > http://example.org/prog?x=1;y=2 I ask because "&' is not valid XHTML, and needs to be replaced by "&" in some of my links. I think it will be easier to read my code with a single character delimiter. Any thoughts or opinions? Bill Conlon To the Point 345 California Avenue Suite 2 Palo Alto, CA 94306 office: 650.327.2175 fax: 650.329.8335 mobile: 650.906.9929 e-mail: mailto:[EMAIL PROTECTED] web: http://www.tothept.com ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
