OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] What Goes in ~/.xmlc To Build the CVS Examples?

Simon Blanchard <ml@simonb.com> writes:

> I've grabbed the docbook files via CVS and I'd like to be able to make 
> the example slides project myself - since I am preparing my own slides 
> I figure this will give me an idea of how to do the processing. The 
> tools - perl wrappers in cvstools - are configured via a file 
> (usually) called ~/.xmlc but I can not figure out what the content of 
> that file should look like. Please can someone help with an example of 
> ~/.xmlc.
> If I could translate this Perl
> $xp->find("/config/*[\@xml:id='$id']")
> To XML format I'd be OK...
> It's <config></config> something but I can not figure out the xml:id bit.

I have been away from DocBook XSL stylesheet development for a few
weeks, but the last time I tested with my CVS sandbox, the
following .xmlc file is what I used. But I have not tested with it
recently, and I think Norm has made some changes recently that
might require it to be updated and added to. Anyway, I hope that
it helps as a start at least.

<?xml version='1.0' encoding='utf-8'?> <!-- -*- nxml -*- -->
  <java classpath-separator=":" xml:id="java">
    <system-property name="javax.xml.parsers.DocumentBuilderFactory"
    <system-property name="javax.xml.parsers.SAXParserFactory"
    <classpath path="/usr/share/java/xercesImpl.jar"/>
    <classpath path="/usr/share/java/jaxp-1.2.jar"/>
    <classpath path="/usr/share/java/xml-commons-resolver-1.1.jar"/>

  <java xml:id="bigmem">
    <java-option name="Xmx512m"/>

  <saxon xml:id="saxon" extends="java">
    <arg name="x" value="org.apache.xml.resolver.tools.ResolvingXMLReader"/>
    <arg name="y" value="org.apache.xml.resolver.tools.ResolvingXMLReader"/>
    <arg name="r" value="org.apache.xml.resolver.tools.CatalogResolver"/>
    <param name="use.extensions" value="1"/>

  <saxon xml:id="saxonb-8" extends="saxon" class="net.sf.saxon.Transform"
    <classpath path="/sandbox/xsl2/extensions/build/lib/docbook-xsl2-saxon.jar"/>
    <classpath path="/usr/share/java/saxon8.jar"/>
    <classpath path="/sourceforge/docbook/xsl/extensions/saxon8.jar"/>

  <saxon xml:id="saxon-6" extends="saxon" class="com.icl.saxon.StyleSheet">
    <classpath path="/usr/share/java/saxon-6.5.4.jar"/>
    <classpath path="/sandbox/xsl/extensions/saxon65.jar"/>

Michael(tm) Smith


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]