[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Entity not defined
You need to define any entities you wish to use in your DOCTYPE entry.
For example:
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE article PUBLIC '-//OASIS//DTD DocBook XML V4.5 //EN'
'../../DocBook/docbook-xml/docbookx.dtd' [
<!-- HTML-like character entities -->
<!ENTITY frac12 '½'>
<!ENTITY lsquo '''>
<!ENTITY rsquo '‚'>
<!ENTITY ldquo '"'>
<!ENTITY rdquo '"'>
] >
- dfp
--- Douglas Wade <douglaswade@gmail.com> wrote:
> I am switching from instant saxton to xsltproc and I cannot get
> xsltproc
> parsing. It considers text entities as invalid. I did not see any
> help to
> what I have wrong. I get errors like:
>
> xml:3196: parser error : Entity 'rdquo' not defined
> enter a value of "<emphasis role="bold">60</emphasis>"
> ^
> xml:3242: parser error : Entity 'ldquo' not defined
> s> file. Add the Technical Manual, similar to this format. "
>
>
> xsltproc --output myfile.html --stringparam use.extension 0
> ..\docbook-
> xsl-1.68.1\docbook-html.xsl UserGuideSGML.xml
> xmllint --xinclude UserGuideSGML.xml
>
>
> Thanks...
>
> Douglas
>
____________________________________________________________________________________
Shape Yahoo! in your own image. Join our Network Research Panel today! http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]