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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook] Re: cross-document links


The cross reference data files should not have a DOCTYPE at all.
I just realized the XHTML version of the stylesheet
puts the DOCTYPE in the db output, so I'll need to fix that.
In the mean time, you could use the HTML version of
docbook.xsl to generate the db files, or delete the DOCTYPE
in the generated files.

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net


----- Original Message ----- 
From: "Sam Steingold" <sds@gnu.org>
To: <docbook@lists.oasis-open.org>
Sent: Monday, January 26, 2004 1:14 PM
Subject: [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/.
>
>




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]