docbook-apps

  • 1.  Re: [docbook-apps] xpath into docbook namespace

    Posted 03-30-2009 16:13
    Hi,
    If you are using the namespace-aware version of the stylesheets (with "-ns-"
    in the directory name), then you need to add the namespace declaration to
    your stylesheet and use the namespace in element matches. See this doc for
    details:

    http://www.sagehill.net/docbookxsl/CustomDb5Xsl.html

    Assuming the context of the xpath is correct for selecting article, an xpath
    such as d:article/d:title would be appropriate.

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net





  • 2.  Re: [docbook-apps] xpath into docbook namespace

    Posted 03-30-2009 22:19
    That works. Thanks to all for the assist, and let me add how
    enormously honored I am to get the answer from the very author whose
    book graces my desk at the moment. Cheers!

    Franklin

    --
    Einspruch: http://einspruch.com
    Artblog.net: http://artblog.net
    The Moon Fell On Me: http://themoonfellonme.com
    Walter Darby Bannard Archive: http://wdbannard.org


    On Mon, Mar 30, 2009 at 12:13 PM, Bob Stayton <bobs@sagehill.net> wrote:
    > Hi,
    > If you are using the namespace-aware version of the stylesheets (with "-ns-"
    > in the directory name), then you need to add the namespace declaration to
    > your stylesheet and use the namespace in element matches.  See this doc for
    > details:
    >
    > http://www.sagehill.net/docbookxsl/CustomDb5Xsl.html
    >
    > Assuming the context of the xpath is correct for selecting article, an xpath
    > such as d:article/d:title would be appropriate.
    >
    > Bob Stayton
    > Sagehill Enterprises
    > bobs@sagehill.net
    >
    >
    >