Leo Simons wrote:
>
Ulrich Mayring wrote:

I'd like to retrieve the value of myparam in one of the stylesheets that Stylebook uses to generate the docs. Can this be done?
yep. A common approach has always been to use ant filters (http://ant.apache.org/manual/CoreTypes/filterset.html) replacing @@SOMETHING@@ with your parameter.
This could work. A very interesting idea ;-)

how does

<stylebook targetdirectory="build/docs"
           book="src/xdocs/book.xml"
           skindirectory="src/skins/myskin"/>

look to you? :D
Not very promising on first sight, because I don't see how I could pass parameters to a stylesheet that way. I could of course design an alternate skin or make an alternate book.xml file for the design variation, but then I end up with two skins or two book files that are 99.9% identical.

stylebook lives @ http://cvs.apache.org/viewcvs.cgi/xml-stylebook/. My guess is you can find maintainers on general@xml. But for questions like this, ant-users might be the best place.
Ok.

Of course, my personal opinion is that you should use either forrest or anakia or maven :D
I agree :)

Ulrich



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to