docbook: special characters within formated text
Subject:
Re: special characters within formated text
From:
Tabatha Marshall ####@####.####
Date:
15 Oct 2003 09:39:29 -0000
Message-Id: <1066210946.23159.2.camel@mysticchild>
Whoops, the usage should have read: &entity;
:D
On Wed, 2003-10-15 at 02:38, Tabatha Marshall wrote:
> 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)