docbook: special characters within formated text


Previous by date: 15 Oct 2003 09:35:14 -0000 special characters within formated text, Alasdair Hatfield
Next by date: 15 Oct 2003 09:35:14 -0000 Re: special characters within formated text, Tabatha Marshall
Previous in thread: 15 Oct 2003 09:35:14 -0000 special characters within formated text, Alasdair Hatfield
Next in thread: 15 Oct 2003 09:35:14 -0000 Re: special characters within formated text, Tabatha Marshall

Subject: Re: special characters within formated text
From: Tabatha Marshall ####@####.####
Date: 15 Oct 2003 09:35:14 -0000
Message-Id: <1066210689.23159.0.camel@mysticchild>

The character entities you're looking for are at:
http://www.docbook.org/tdg/en/html/iso-num.html

Usage: #entity;

Hope that helps out!

Tabatha

On Wed, 2003-10-15 at 01:22, Alasdair Hatfield wrote:
> Hi
> 
> I have some code of the form
> 
>  <example id="hooks.cpp">
>         <title>hooks.cpp</title>
>         <programlisting>
> 	sys_bus = new CBus<MEMTYPE, ADDRTYPE> ( "SYS_BUS", 32, 8);
>         </programlisting>
>         </example>
> 
> When I compile this using xsltproc, I get the following error:
> 
> mem.xml:180: error: error parsing attribute name
>     sys_bus = new CBus<MEMTYPE, ADDRTYPE> ( "SYS_BUS", 32, 8);
>                                                                       ^
> 
> The arrow is to the comma between MEMTYPE and ADDRTYPE.
> 
> It appears that this and other similar errors are caused by the parser 
> recognising these as special characters.
> 
> How can I, in the xml file, tell the compiler to ignore these so I can use 
> formated text without limitations?
> 
> Thanks in advance
> Alasdair
> 
> ______________________
> http://lists.tldp.org/
-- 
Tabatha Marshall
Web: www.merlinmonroe.com
Linux Documentation Project Review Coordinator (http://www.tldp.org)
Linux Counter Area Manager US:wa (http://counter.li.org)


Previous by date: 15 Oct 2003 09:35:14 -0000 special characters within formated text, Alasdair Hatfield
Next by date: 15 Oct 2003 09:35:14 -0000 Re: special characters within formated text, Tabatha Marshall
Previous in thread: 15 Oct 2003 09:35:14 -0000 special characters within formated text, Alasdair Hatfield
Next in thread: 15 Oct 2003 09:35:14 -0000 Re: special characters within formated text, Tabatha Marshall


  ©The Linux Documentation Project, 2014. Listserver maintained by dr Serge Victor on ibiblio.org servers. See current spam statz.