On Monday 08 January 2007 13:11, Thomas Schraitle wrote:

Hi,

> On Monday 08 January 2007 03:24, Alexey Eremenko wrote:
> > Another problem that I just came across is and sign"&":
> >
> > <!-- I'we got a serious problem here, the interpreter intercepts
> > "&" sign within a URL, effectively preventing me from using any
> > search engime results.
> > <para>
> >      Nice demo videos:
> >      <ulink
> > url="http://youtube.com/results?search_query=looking+glass+3d&searc
> >h=Se arch"/> </para>
>
> This is one of the specialities of XML. ;-)
>
> The '&' (ampersand) character is reserved for entities. If you want
> to have a single ampersand, you have to escape it by using "&amp;".

BTW: The same would be true for HTML as well. As with HTML, too, you 
also need to escape the following characters:

&lt;    <       less than
&gt;    >       greater than
&apos;  '       apostrophe
&quot;  "       quotation mark

Instead of 

&quot;text&quot; 

the preferred method with DocBook would be

<quote>text</quote>.

-- 
Tschau
        Frank
--
Frank Sundermeyer, SUSE LINUX GmbH, Maxfeldstr. 5, D-90409 Nuernberg
Tel: +49-911-74053-0, Fax: +49-911-7417755;  http://www.suse.de/
Reality is always controlled by the people who are most insane Dogbert
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to