Hi Tom,
The entity is declared to be the same character reference , so if the
character reference works then the problem is in resolving the entity reference. I
infer from your use of the -ns- stylesheets that you are using DocBook 5. The DocBook
5 RNG schema does not support entity declarations, so is not declared in your
documents. You should be getting a parsing error to that effect.
A workaround is required to use the DocBook entity declarations from DocBook 4. See
this reference for more information:
http://www.sagehill.net/docbookxsl/Db5Entities.html#CharEntitiesLet me know if I'm misunderstanding the problem.
Bob Stayton
Sagehill Enterprises
bobs@sagehill.net----- Original Message -----
From: "Tom Browder" <
tom.browder@gmail.com>
To: "Docbook Apps Help list" <
docbook-apps@lists.oasis-open.org>
Sent: Thursday, February 03, 2011 12:49 PM
Subject: [docbook-apps] DB soft-hyphen characters and DB 5: entity doesn't work
> Bob Stayton, on p. 172 of his book, says one can use either of two
> characters to produce a soft-hyphen (invisible unless the hyphen is
> used to break a line):
>
> Unicode character ''
> DB entity ''
>
> With xsltproc, docbook-xsl-ns-1.76.1, and fop 1.0 the Unicode
> character works but the entity doesn't.
>
> I've tried '&db:shy' but no go. What am I something wrong?
>
> Thanks.
>
> Best,
>
> -Tom
>
> Thomas M. Browder, Jr.
> Niceville, Florida
> USA
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
docbook-apps-unsubscribe@lists.oasis-open.org> For additional commands, e-mail:
docbook-apps-help@lists.oasis-open.org>
>
>