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] XInclude issue


Hello All,

After reading the Bob's faq, I not sure I have interstood houw to
include some file inside another one.

The first file, book.xml is like that :

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book SYSTEM
"file:/Applications/oxygen/docbook/dtd/docbookx.dtd">
<book>
    <xi:include href="intro.xml"
xmlns:xi="http://www.w3.org/2001/XInclude"/>
</book>

And the intro.xml file is like that :

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE chapter SYSTEM
"file:/Applications/oxygen/docbook/dtd/docbookx.dtd">
<chapter lang="fr" id="intro">
<title>My chapter title</title>
<sect1>
    <title>My Sect1 title</title>
    <para>My sect 1 paragraph</para>
</sect1>
</chapter>

When I transform book.xml in html with dockbook.xsl  version 1.65.1 the
result is just the book.xml part and <xi:include></xi:include>

And I don't interstant why.

If I add all the path the include file in the href sentence, the result
is the same.

Thanks in advance.

Jacques
-- 
AMOUR : mot de cinq lettres, trois voyelles, deux consonnes et deux idiots.

To unsubscribe from this list, send a post to docbook-apps-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]