| From | Sent On | Attachments |
|---|---|---|
| John Dyer | Mar 28, 2006 3:38 pm | |
| Thomas Schraitle | Mar 29, 2006 8:45 am | |
| John Dyer | Mar 29, 2006 9:17 am | |
| Jirka Kosek | Mar 29, 2006 9:48 am | .bin |
| Bob Stayton | Mar 29, 2006 10:04 am | |
| Dick Hamilton | Mar 29, 2006 10:06 am | |
| John Dyer | Mar 30, 2006 9:58 am | |
| Chris Chiasson | Mar 30, 2006 11:19 am | |
| Jirka Kosek | Mar 30, 2006 12:27 pm | .bin |
| Bob Stayton | Mar 30, 2006 11:48 pm |
| Subject: | Re: [docbook] Adding new element to docbook DTD | |
|---|---|---|
| From: | Bob Stayton (bo...@sagehill.net) | |
| Date: | Mar 30, 2006 11:48:58 pm | |
| List: | org.oasis-open.lists.docbook | |
Regarding the two-pass processing method, it is possible to do both passes and the application of styles with a single stylesheet. That way you would not require any special setup for processing, just a stylesheet.
The existing fo/profile-docbook.xsl does single pass profiling and application of styles in one stylesheet. It uses EXSLT node-set to hold the profiled content in the first step to be styled in the second step. You could add another step to process the node-set again with the profiling stylesheet and different profile parameters, and save the results of that to a another node-set, which would then be styled in the third step.
Bob Stayton Sagehill Enterprises DocBook Consulting bo...@sagehill.net
----- Original Message ----- From: "John Dyer" <jdy...@opushealthcare.com> To: "Bob Stayton" <bo...@sagehill.net>; "Jirka Kosek" <jir...@kosek.cz>; "Dick Hamilton" <rlha...@frii.com> Cc: <docb...@lists.oasis-open.org> Sent: Thursday, March 30, 2006 10:00 AM Subject: RE: [docbook] Adding new element to docbook DTD
[stuff deleted]
Bob Stayton wrote:
Another approach is to do two profiling passes. On the first pass, process your document with profiling/profile.xsl and set profile.condition="C1". Any elements with condition="C2" will be removed. On the second pass, process the result of the first pass with the same stylesheet but set profile.condition="C2". That will remove any elements with condition="C1", leaving only those with condition="C1;C2". Then process the result of that with the regular stylesheet.
My purpose here is to develop a process to be used for my company's technical writing staff. I am a developer and will not be involved with the transforming of documentation once a process is in place. While this approach would work fine if I were transforming docs myself, I think it is a bit more complex than what we are looking for.
Bob Stayton Sagehill Enterprises DocBook Consulting bo...@sagehill.net






.bin