docbook-apps

  • 1.  Re: [docbook-apps] where to find xsl stylesheets with namespace?

    Posted 02-15-2012 18:32
    Hi Paul,
    I'm not quite clear on what you are trying to do. The stylesheet files in SVN are not yet built, and so would not work if you tried to run them directly. This is especially true of the namespaced stylesheets are created from the non-namespaced stylesheets during the build process, so there are no namespaced stylesheet files in SVN at all.

    But you are going to use a catalog, so you won't be running them from SVN anyway, correct? If you are using a catalog file, then why do you need the SVN address? Any address for the systemIdStartString will do since you are remapping it to a local drive.

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net


    ----- Original Message -----
    From: Paul Tremblay
    To: Bob Stayton
    Cc: docbook-apps@lists.oasis-open.org
    Sent: Tuesday, February 14, 2012 9:52 AM
    Subject: Re: [docbook-apps] where to find xsl stylesheets with namespace?


    Thanks Bob. I can find the zip downloads, but not the SVN. I actually am only interested in getting a direct path to the SVN so that I can use the catalog correctly:

    <rewriteSystem systemIdStartString="http://50.56.245.89/xsl-ns/" rewritePrefix="file:///cygdrive/c/Documents%20and%20Settings/ptremblayks/My%20Documents/docbook-xsl-ns-1.76.1/"/>

    Should be

    <rewriteSystem systemIdStartString="http://???" rewritePrefix="file:///cygdrive/c/Documents%20and%20Settings/ptremblayks
    ^^^^^^^^
    /My%20Documents/docbook-xsl-ns-1.76.1/"/>

    Thanks

    Paul


    On Tue, Feb 14, 2012 at 12:17 PM, Bob Stayton <bobs@sagehill.net> wrote:

    Hi Paul,
    That page is out of date. If you click on the first link "DocBook Project", it will take you directly to the SourceForge project page. Under the Files tab you will find "docbook-xsl-ns" and all the other stylesheets.

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net


    ----- Original Message -----
    From: Paul Tremblay
    To: docbook-apps@lists.oasis-open.org
    Sent: Tuesday, February 14, 2012 7:46 AM
    Subject: [docbook-apps] where to find xsl stylesheets with namespace?


    Where is the official release for the docbook stylesheets that handle namespaces? The link

    http://docbook.sourceforge.net/

    Only gives me links to the non namespace stylesheets. The only way I can find stylesheets with namespaces is to click on the "bleeding edge" link, but I thought there were stable, common releases that were not bleeding edge.

    When I do try to process a stylesheet with:

    xsltproc http://50.56.245.89/xsl-ns/fo/docbook.xsl my_doc_docbook.xml

    I get errors that no match is found for the mathml elements:

    Element math in namespace 'http://www.w3.org/1998/Math/MathML' encountered in d:equation, but no template matches. ...

    Thanks

    Paul





  • 2.  Re: [docbook-apps] where to find xsl stylesheets with namespace?

    Posted 02-15-2012 18:39
    >> Any address for the systemIdStartString will do since you are remapping
    it to a local drive.

    Thanks, Bob. You are correct, but I just wanted the correct string so it
    would make sense and I would not have to change it in the future.

    Paul

    On Wed, Feb 15, 2012 at 1:32 PM, Bob Stayton <bobs@sagehill.net> wrote:

    > **
    > Hi Paul,
    > I'm not quite clear on what you are trying to do. The stylesheet files in
    > SVN are not yet built, and so would not work if you tried to run them
    > directly. This is especially true of the namespaced stylesheets
    > are created from the non-namespaced stylesheets during the build process,
    > so there are no namespaced stylesheet files in SVN at all.
    >
    > But you are going to use a catalog, so you won't be running them from SVN
    > anyway, correct? If you are using a catalog file, then why do you need the
    > SVN address? Any address for the systemIdStartString will do since you are
    > remapping it to a local drive.
    >
    > Bob Stayton
    > Sagehill Enterprises
    > bobs@sagehill.net
    >
    >
    >
    > ----- Original Message -----
    > *From:* Paul Tremblay <paulhtremblay@gmail.com>
    > *To:* Bob Stayton <bobs@sagehill.net>
    > *Cc:* docbook-apps@lists.oasis-open.org
    > *Sent:* Tuesday, February 14, 2012 9:52 AM
    > *Subject:* Re: [docbook-apps] where to find xsl stylesheets with
    > namespace?
    >
    > Thanks Bob. I can find the zip downloads, but not the SVN. I actually am
    > only interested in getting a direct path to the SVN so that I can use the
    > catalog correctly:
    >
    > <rewriteSystem systemIdStartString="http://50.56.245.89/xsl-ns/"
    > rewritePrefix="
    > file:///cygdrive/c/Documents%20and%20Settings/ptremblayks/My%20Documents/docbook-xsl-ns-1.76.1/"/
    > >
    >
    > Should be
    >
    > <rewriteSystem systemIdStartString="http://???" rewritePrefix="
    > file:///cygdrive/c/Documents%20and%20Settings/ptremblayks
    > ^^^^^^^^
    > /My%20Documents/docbook-xsl-ns-1.76.1/"/>
    >
    > Thanks
    >
    > Paul
    >
    > On Tue, Feb 14, 2012 at 12:17 PM, Bob Stayton <bobs@sagehill.net> wrote:
    >
    >> **
    >> Hi Paul,
    >> That page is out of date. If you click on the first link "DocBook
    >> Project", it will take you directly to the SourceForge project page. Under
    >> the Files tab you will find "docbook-xsl-ns" and all the other stylesheets.
    >>
    >> Bob Stayton
    >> Sagehill Enterprises
    >> bobs@sagehill.net
    >>
    >>
    >>
    >> ----- Original Message -----
    >> *From:* Paul Tremblay <paulhtremblay@gmail.com>
    >> *To:* docbook-apps@lists.oasis-open.org
    >> *Sent:* Tuesday, February 14, 2012 7:46 AM
    >> *Subject:* [docbook-apps] where to find xsl stylesheets with namespace?
    >>
    >> Where is the official release for the docbook stylesheets that handle
    >> namespaces? The link
    >>
    >> http://docbook.sourceforge.net/
    >>
    >> Only gives me links to the non namespace stylesheets. The only way I can
    >> find stylesheets with namespaces is to click on the "bleeding edge" link,
    >> but I thought there were stable, common releases that were not bleeding
    >> edge.
    >>
    >> When I do try to process a stylesheet with:
    >>
    >> xsltproc http://50.56.245.89/xsl-ns/fo/docbook.xsl my_doc_docbook.xml
    >>
    >> I get errors that no match is found for the mathml elements:
    >>
    >> Element math in namespace 'http://www.w3.org/1998/Math/MathML'
    >> encountered in d:equation, but no template matches. ...
    >>
    >> Thanks
    >>
    >> Paul
    >>
    >>
    >