qexo-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qexo-general] Emeting servler URIs with parameter lists


From: Per Bothner
Subject: Re: [Qexo-general] Emeting servler URIs with parameter lists
Date: Sat, 20 Mar 2004 08:13:14 -0800
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6) Gecko/20040113

Stefano Santoro wrote:

it is a valid URL, for an example you may view OTN posts on their (albeit poor)
implementation of XQuery

http://forums.oracle.com/forums/thread.jsp? forum=189&thread=229387&tstart=0&trange=15

The & is used to demarcate one parameter from another

Yes, a plain '&' a valid URL, but it's not valid XML.
Therefore you have to escape the '&' as '&',
both in the XQuery expression you use to generate
the XML/HTML as well as an XML/HTML you might write
directly.  The string value of the attribute:
  foo="a&b"
is the string consisting of the 3 characters
  'a', '&', 'b'.
--
        --Per Bothner
address@hidden   http://per.bothner.com/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]