Hi Michael,
1. My primary objective was to use the velocity docbook framework for generating documentation in HTML and PDF using multiple XML files. 2. The current version of Velocity Docbook Framework do not support the xi:include XSL element and hence the site I mentioned has one tip to introduce this functionality in Velocity Docbook Framework. The link of that tip again http://www.devx.com/Java/Article/35301/1954 3. The docbook-ant-styles which was used as a reference for some of the code in DBF uses this xi:include elements and can produce PDF files even from multiple XML documentation files included in one index.xml with the <xi:include .../> element 4. While applying the tip and making the changes I changed the SAXON part of the ant build file, and the tip says I introduced JVM parameters to provide xerces implementations of the xi:include parsers to the build file 5. The build fails and reports that it could not find the xerces implementation classes 6. I have checked that the xerces latest JAR files are already in the lib folder of the distribution and it is in the dbf.classpath even then the build fails with this error. 7. One important point is I am only using the Velocity Docbook Framework distribution and nothing else, this means I am not checking out any of the velocity classes 8. The code I changed in the build file are as follows (according to the tip in link) 1. <java classname="com.icl.saxon.StyleSheet" fork="true" dir="${basedir}" classpathref="dbf.classpath"> <jvmarg value="-Djavax.xml.parsers.DocumentBuilderFactory= org.apache.xerces.jaxp.DocumentBuilderFactoryImpl" /> <jvmarg value="-Djavax.xml.parsers.SAXParserFactory= org.apache.xerces.jaxp.SAXParserFactoryImpl" /> <jvmarg value="-Dorg.apache.xerces.xni.parser.XMLParserConfiguration= org.apache.xerces.parsers.XIncludeParserConfiguration" /> <arg line="-x org.apache.xml.resolver.tools.ResolvingXMLReader"/> <arg line="-y org.apache.xml.resolver.tools.ResolvingXMLReader"/> <arg line="-r org.apache.xml.resolver.tools.CatalogResolver"/> <arg value="-o"/> <arg value="@{output}"/> <arg value="@{input}"/> <arg value="@{style}"/> </java> If someone has tried earlier to manage multiple source XML files through DBF a pointer to that system will help. I have intentions to try different code refactoring for the ant build script by studying the docbook-ant-styles by David Weiss and make this happen in DBF also as it happend in the docbook-ant-styles, anyway. Will keep the list updated abot my progress with regards Tushar Tushar Joshi, Nagpur http://zdirection.blogspot.com On Mon, Aug 18, 2008 at 3:32 AM, Michael Dykman <[EMAIL PROTECTED]> wrote: > I"m not sure which Impl classes you are referring to but I follwed > your link to the Docbook-Velocity Framework and checked out the > package at: > > http://velocity.apache.org/docbook/ > > I noticed that it ships with saxon, fop, batik and avalon, all of > which provide implementions of some w3c interface or other. Check > those packages out in detail and please be more specific with your > questions in the future. > > - michael dykman > > > On Sun, Aug 17, 2008 at 4:45 AM, Tushar Joshi <[EMAIL PROTECTED]> > wrote: > > Hi, > > > > The velocity docbook framework seems non-active since Sep 2007. I found > > this framework useful and wanted to use it for the documentation purpose > of > > footprint project. > > > > I tried using the xi:include change as given in > > http://www.devx.com/Java/Article/35301/1954 but it could not find the > Impl > > classes from xerces packages. I tried to use the latest version from the > > SVN repository but facing the same problem. > > > > I can contribute to this project by providing testing on Windows XP and > > taking up some task from the TODO list. Please guide me further... > > > > with regards > > Tushar > > > > Tushar Joshi > > http://www.jugnagpur.com > > http://netbeanside61.blogspot.com > > > > -- > > Tushar Joshi > > http://www.tusharvjoshi.com > > > > > > -- > - michael dykman > - [EMAIL PROTECTED] > > - All models are wrong. Some models are useful. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Tushar Joshi http://www.tusharvjoshi.com
