
I have the trial version of 5.1 installed and I'm trying to work with the DocBook Xinclude sample. <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.docbook.org/xml/4.3/docbookx.dtd" [ <!ENTITY % xinclude SYSTEM "../../frameworks/docbook/dtd/xinclude.mod" > %xinclude; <!ENTITY % local.common.attrib "xml:base CDATA #IMPLIED" > ]> <book> <article> <title>Welcome to the Docbook</title> <xi:include href="section1.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> <xi:include href="section2.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> <xi:include href="section3.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> </article> </book> I haven't tinkered with this file, and everything is in place where the demo installed itself (Windows XP, for what it's worth -- not much, I know). When I try to "transform" the DocBook Xinclude sample, I get the following warnings: W No template matches xi:include in article. W No template matches xi:include in article. W No template matches xi:include in article. And the outpout has empty tags, like so: <xi:include></xi:include> <xi:include></xi:include> <xi:include></xi:include> I've seen the same sample work before, so I wonder what I've done to break the chain. (The files to be included are in place.) I bet this is simple, but I am clueless. Thanks in advance for your help.

Hello, You must enable the XInclude support of <oXygen/> in the user preferences. In the same file included in version 6 there is the following comment for avoiding situations like this: <!-- Please make sure the XInclude support in enabled! --> <!-- To do that check that the Enable XInclude processing option is enabled in the --> <!-- XML - XML Parser Properties page in the applicaion Options/Preferences dialog --> Best regards, Sorin <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com/ James Oldham wrote:
I have the trial version of 5.1 installed and I'm trying to work with the DocBook Xinclude sample.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.docbook.org/xml/4.3/docbookx.dtd" [ <!ENTITY % xinclude SYSTEM "../../frameworks/docbook/dtd/xinclude.mod" > %xinclude; <!ENTITY % local.common.attrib "xml:base CDATA #IMPLIED" > ]> <book> <article> <title>Welcome to the Docbook</title> <xi:include href="section1.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> <xi:include href="section2.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> <xi:include href="section3.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> </article> </book>
I haven't tinkered with this file, and everything is in place where the demo installed itself (Windows XP, for what it's worth -- not much, I know).
When I try to "transform" the DocBook Xinclude sample, I get the following warnings:
W No template matches xi:include in article. W No template matches xi:include in article. W No template matches xi:include in article.
And the outpout has empty tags, like so:
<xi:include></xi:include> <xi:include></xi:include> <xi:include></xi:include>
I've seen the same sample work before, so I wonder what I've done to break the chain. (The files to be included are in place.)
I bet this is simple, but I am clueless.
Thanks in advance for your help. _______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
participants (2)
-
James Oldham
-
Sorin Ristache