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]

[docbook-apps] XRef between split documents


Hi,

i have a docbook 4.2 xml project, where I split the main document
into several smaller documents. Now I need to reference from one subfile
to another file, that has an article as top instance.

The article file fails to validate with "No declaration for attribute ID of
element article".  But in "http://docbook.org/tdg/en/html/article.html"; lists
the common attributes
"http://docbook.org/tdg/en/html/ref-elements.html#common.attributes";
ID. 

So I have the following questions:
- How can I xref to an article inside a book ?
- How can I xref between different x-included files  ?

I use 
- xmllint to validate and create a large xml document with all xincluded files
  for further processing.
- docbook 4.2 DTD
- xsl stylesheets 1.62.7


----- <main.xml> ----
<book>
   <xi:include href="includes/filea.xml" xmlns:xi="http://www.w3.org/2001/XInclude";>  </xi:include> 
   <xi:include href="includes/fileb.xml" xmlns:xi="http://www.w3.org/2001/XInclude";>  </xi:include> 
</book>
----- </main.xml> ----

----- <filea.xml> ----
<chapter>
  <title>test</title>
  <para><xref linkend="test" /> </para>
</chapter>
----- </filea.xml> ----

----- <fileb.xml> ----
<article ID="test">
  <title>test</test>
  <para></para>
</article>
----- </fileb.xml> ----

Ciao

Jens Skripczynski
-- 
E-Mail: skripi-lists(at)myrealbox(dot)com

Naturwissenschaftler haben endlich die Frage geklïrt, warum Pinguine nicht
fliegen kïnnen. Die Antwort ist denkbar einfach: "Was nicht fliegt, kann
auch nicht abstïrzen!"


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