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]

Dynamic DSSSL


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?

-- 
Blood is thicker than water, and much tastier.

------------------------------------------------------------------
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]