Thanks David,
> The latest version of Eclipse Web Tools 3.0, should have an XInclude
> option for the XML Editor.
everything works now.
> Also, the XSL Tools incubator, does include an xinclude ant Task
i stick to the solution provided by Michiel. This is my compile-Task now:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
<target name="build single html file" depends="single_html_depends"
description="Generates one big HTML file from DocBook XML">
<script language="javascript">
<![CDATA[
importClass(java.lang.System);
System.setProperty(
"org.apache.xerces.xni.parser.XMLParserConfiguration",
"org.apache.xerces.parsers.XIncludeParserConfiguration" );
]]>
</script>
<xslt style="${singlehtml.stylesheet}" extension=".html"
basedir="${source.dir}" destdir="${out-single_html.dir}">
<classpath refid="xalan.classpath" />
<include name="book.xml" />
</xslt>
</target>
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
I exported all off my files with all your advice incorporated to a zip-file and
uploaded it to
http://www.2shared.com/file/3841396/8188c657/HelloWorldDocbookProject.html
I hope this is usefull as a starting point for others who want to use DocBook
in Eclipse. I downgraded tho docbook4.5 though because at this point most of
the tutorials are written for it. There is a little hyphenation problem
unhandled because there is a licence problem with it, but you can find all
neccessary info her: http://xmlgraphics.apache.org/fop/0.94/hyphenation.html
Thanks again,
Stephan
-------- Original-Nachricht --------
> Datum: Thu, 28 Aug 2008 15:31:08 -0400
> Von: David Carver <[EMAIL PROTECTED]>
> An: "Stephan Schröder" <[EMAIL PROTECTED]>
> CC: [email protected]
> Betreff: Re: [docbook-apps] xinclude problem with docbook under eclipse
> Stephan Schröder wrote:
> > But nevertheless one problem remains. Eclipse itself doesn't resolve
> >> the xi:include elements. So references between the files will be shown
> >> as not existing IDs.
> >>
> >
> > OK, i can live with that.
> >
> The latest version of Eclipse Web Tools 3.0, should have an XInclude
> option for the XML Editor. You need to go the Preferences to turn it
> on. That should take care of the ID problem.
>
> Also, the XSL Tools incubator, does include an xinclude ant Task that
> can be used to generate a combined XML file from the xincludes. This
> file can then be passed onto the XSLT ant task. Note the xinclude task
> still needs some testing, so any bug reports you find, please report
> them to the XSL Tools project, in the WTP Incubator.
>
> Dave
>
--
Psssst! Schon das coole Video vom GMX MultiMessenger gesehen?
Der Eine für Alle: http://www.gmx.net/de/go/messenger03
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]