docbook-apps

  • 1.  Re: [docbook-apps] Modify xsl:import value at runtime?

    Posted 08-03-2011 17:06
    Hi Paul,
    That is correct that the href in xsl:import cannot be specified with a param. But you
    can use a catalog file, and change the catalog file at runtime to point to a different
    stylesheet version. These two references can get you started:

    http://www.sagehill.net/docbookxsl/CustomMethods.html#CatsWithCust
    http://www.sagehill.net/docbookxsl/WriteCatalog.html#MapURLtoFile

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net





  • 2.  Re: [docbook-apps] Modify xsl:import value at runtime?

    Posted 08-03-2011 18:44
    Hi Bob,

    Thanks, that sounds like it might be what I want. I'll give it a shot.

    On Aug 3, 2011, at 12:05 PM, Bob Stayton wrote:

    > Hi Paul,
    > That is correct that the href in xsl:import cannot be specified with a param. But you can use a catalog file, and change the catalog file at runtime to point to a different stylesheet version. These two references can get you started:
    >
    > http://www.sagehill.net/docbookxsl/CustomMethods.html#CatsWithCust
    > http://www.sagehill.net/docbookxsl/WriteCatalog.html#MapURLtoFile
    >
    > Bob Stayton
    > Sagehill Enterprises
    > bobs@sagehill.net
    >
    >
    >