This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Dynamic DSSSL


Devin Weaver <ktohg@tritarget.com> writes:

> I'm not that great at DSSSL. I'm still learning.
> I was wondering how could I query the value of the status attribute in
> the top tag. Either <book>, <article>, <set>, or <part>
> 
> What I want to do is if I have <book status="draft"> have
> (define %show-comments% #t)
> but if it's <book status="final"> have
> (define %show-comments% #f)
> 
> Is this possible?

It's definately possible.   However, I don't have the time to track
this down.  I'll refer you to the <dssslist@lists.mulberrytech.com>
where the DSSSL hackers hang out.

-- 
.....Adam Di Carlo....adam@onShore.com.....<URL:http://www.onShore.com/>


------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]