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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

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


Subject: 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!"



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