docbook-apps

Expand all | Collapse all

Re: [docbook-apps] Setting the draft.watermark.image parameter value: solution

  • 1.  Re: [docbook-apps] Setting the draft.watermark.image parameter value: solution

    Posted 03-10-2009 17:21
    Jeff,
    Your solution with the processing instruction demonstrates that when global
    params are being set that the file has already been parsed and xpaths into
    the file work. If reading a processing instruction from the file works,
    then reading an element in the file should work too. You said reading the
    element didn't work, but perhaps there was a problem with the xpath?

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net





  • 2.  RE: [docbook-apps] Setting the draft.watermark.image parameter value: solution

    Posted 03-10-2009 17:46
    Damn. I was feeling clever and it turns out I must have just screwed up something else, somewhere else.

    Odd, though; I did consider that I might have messed the Xpath, but really, how far wrong can you go with test="//watermark"? It would have to be one of my most pithy screwups ever. I also tried the precise path to the watermark's doorstep, but when all else fails, going global usually works.

    I'll go back and revisit...