This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] entity not resolved


Hi,
I presume you are not mixing SGML and XML files here, despite the ".sgm"
suffix on bookindex.sgm.  8^)

The first thing you should try is to use the -validate option with xmllint.
That may give you some clues.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "fellons" <roberto.felloni@gmail.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Monday, October 18, 2004 11:19 PM
Subject: [docbook-apps] entity not resolved


> Hi list, I need you.
>
> I'm newbie, and this is the first time I write here (normally I read
only).
> I'm new to docbook too.
>
> On my first attempts to use docbook I found that problem:
>
> I have an <index> tag on a file bookindex.sgm.
> On my index.xml, on doctype declaration, I have inserted an entity
> <!DOCTYPE .... [
> <ENTITY bookindex SYSTEM "bookindex.sgm">
> ]>
>
> after, on the same index.xml, there is
> <book>
> ...
> &bookindex;
> </book>
>
> The problem is than on my personal xsl,  XPath don't resolve hierachy !
> Hierarchy are solved if I cut and paste the content of bookindex.sgm
> on index.xml, to substitute &bookindex;
>
> but xmllint with -noent resolve entity !!
> (ps index.xml e bookindex.sgm are on the same directory !)
>
> Why this appens ?
> How I can debug the problem ?
>
> Someone can help me, please ?
> (sorry for my english)
>
> bye by fellons
>
>



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]