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


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

[docbook] Re: cross-document links


> * Bob Stayton <obof@fntruvyy.arg> [2004-01-26 11:45:28 -0800]:
>
>   <!ENTITY man-targets SYSTEM "file:///man.db">
>   <!ENTITY imp-targets SYSTEM "file:///imp-pile.db">

I replaced them with
  <!ENTITY man-targets SYSTEM "man.db">
  <!ENTITY imp-targets SYSTEM "imp-pile.db">
and now I get these:

time 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 857 ms
imp-pile.db:1: parser error : StartTag: invalid element name
<!DOCTYPE div PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org
 ^
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>
                ^
man.db:1: parser error : StartTag: invalid element name
<!DOCTYPE div PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org
 ^
olink-pile.xml:17: error: Failure to process entity man-targets
  <document targetdoc="clisp" baseuri="clisp.html">&man-targets;</document>
                                                                ^
olink-pile.xml:17: parser error : Entity 'man-targets' not defined
  <document targetdoc="clisp" baseuri="clisp.html">&man-targets;</document>
                                                                ^
Olink missing @targetptr attribute value
warning: failed to load external entity ".olink"
imp-pile.db:1: parser error : StartTag: invalid element name
<!DOCTYPE div PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org
 ^
olink-pile.xml:16: error: Failure to process entity imp-targets
   &imp-targets;</document>
                ^
......
and many more like that.

man.db & imp-pile.db are generated like this:

man.db: clisp.xml
	xsltproc --stringparam collect.xref.targets "only" \
	  --stringparam targets.filename "$@" pile.xsl $<

imp-pile.db: impnotes.xml $(IMPNOTES)
	xsltproc --stringparam collect.xref.targets "only" \
	  --stringparam targets.filename "$@" pile.xsl $<




--
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.honestreporting.com>
Nostalgia isn't what it used to be.


To unsubscribe from this list, send a post to docbook-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


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