OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[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 '&#189;'>
    <!ENTITY lsquo '&#8217;'>
    <!ENTITY rsquo '&#8218;'>
    <!ENTITY ldquo '&#8220;'>
    <!ENTITY rdquo '&#8221;'>
] >

- 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 &ldquo;<emphasis role="bold">60</emphasis>&rdquo;
>                                                                  ^
> xml:3242: parser error : Entity 'ldquo' not defined
> s> file. Add the Technical Manual, similar to this format. &ldquo;
> 
> 
> 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]