Re: [docbook] Re: cross-document links

From
Bob Stayton <>
Date
2004-01-26T19:35:01+00:00
ID
00f401c3e444$f3b48930$6601a8c0@toshiro
Thread
Re: [docbook] Re: cross-document links
Your target data files are declared in olink-pile.xml as:

  <!ENTITY man-targets SYSTEM "file:///man.db">
  <!ENTITY imp-targets SYSTEM "file:///imp-pile.db">

These are absolute paths to the root directory, which is probably not
where those files are located.  That's why you get the messages about
failing to load the external entities.  You need to use either relative
paths, real absolute paths, or catalog entries to resolve these.

Bob Stayton
Sagehill Enterprises



----- Original Message ----- 
From: "Sam Steingold" <>
To: "Bob Stayton" <>
Cc: <>
Sent: Monday, January 26, 2004 10:31 AM
Subject: Re: [docbook] Re: cross-document links


> > * Bob Stayton <> [2004-01-26 09:44:02 -0800]:
> >
> > That is incorrent.
> sorry.
> 
> > What happens when you use "&"?
> 
> 
> xsltproc --timing --stringparam target.database.document \
> "olink-pile.xml" -o impnotes.html pile.xsl impnotes.xml
> Parsing stylesheet pile.xsl took 2 ms
> Parsing document impnotes.xml took 809 ms
> warning: failed to load external entity "file:///imp-pile.db"
> olink-pile.xml:16: error: Failure to process entity imp-targets
>    &imp-targets;</document>
>                 ^
> olink-pile.xml:16: parser error : Entity 'imp-targets' not defined
>    &imp-targets;</document>
>                 ^