XInclude of DocBook Slides in standard DocBook
Posted: Sat Jun 14, 2008 12:19 pm
Hello,
I've made some slides with the DocBook Slides RelaxNG schema (http://docbook.sourceforge.net/release/slides/current).
Now I want to include some of the content of the slides in a standard DocBook (Version 5) document via XInclude. When I edit in author mode, I see the contents from the slide. But when I try to transform the DocBook document (using the standard "Docbook HTML" transformation scenario) with the XIncludes, the content from the slide document is literally copied and escaped into the document (inside span tags with color red). For every tag in the slides I get an error message (Warning) like this:
Element xxx in namespace '' encountered in yyy, but no template matches.
Apparently, each namespace (DB and DB slides) has its own namespace and needs its own XSL file.
Is there a way to combine the Stylesheets for DB and DB slides?
I've made some slides with the DocBook Slides RelaxNG schema (http://docbook.sourceforge.net/release/slides/current).
Now I want to include some of the content of the slides in a standard DocBook (Version 5) document via XInclude. When I edit in author mode, I see the contents from the slide. But when I try to transform the DocBook document (using the standard "Docbook HTML" transformation scenario) with the XIncludes, the content from the slide document is literally copied and escaped into the document (inside span tags with color red). For every tag in the slides I get an error message (Warning) like this:
Element xxx in namespace '' encountered in yyy, but no template matches.
Apparently, each namespace (DB and DB slides) has its own namespace and needs its own XSL file.
Is there a way to combine the Stylesheets for DB and DB slides?