To extend Dave's idea, you may want to use profiling to filter the data
that appears when you transform your docbook into something else:
http://www.sagehill.net/docbookxsl/Profiling.htmlI don't think applying role=hidden automatically works, right?
Wouldn't one need to create a preprocessing step or apply profiling
for the role to operate to limit the data that appears?
But the role attribute is available for you to apply your own meaning
to, and you could use it on any element to organize your data such
that you can display the desired information when transforming the
docbook into ordinary outputs, and then still use the same original
docbook file for input to some other downstream process.
--Aaron
On Tue, Nov 19, 2013 at 3:01 AM, davep <
davep@dpawson.co.uk> wrote:
> On 19/11/13 00:34, Vadim Peretokin wrote:
>
>> I'm transforming some data from an XML format into a Docbook table - but
>> not all of the data in the XML is to be displayed in Docbook. I would,
>> however, like to store it in my Docbook XML - because future
>> transformations would like to read my Docbook XML and they'd need /all/
>> of the data that went into it. I'd rather not introduce a secondary file
>> for storing the extra data - this would bring complications and fragility.
>>
>> I thought of adding extra columns in the Docbook table and setting them
>> to be hidden - but it doesn't seem to be possible to 'hide' a column
>> easily. Another idea would be to store in in XML comments - which would
>> still be accessible in my transformation as well.
>>
>>
>
> *if* all your cells to be hidden are in the same column
>
> <entry role='hidden'> to contain the cells which you do not want
> to be shown?
>
>
>
>
>
>
> regards
>
> --
> Dave Pawson
> XSLT XSL-FO FAQ.
>
http://www.dpawson.co.uk>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
docbook-apps-unsubscribe@lists.oasis-open.org> For additional commands, e-mail:
docbook-apps-help@lists.oasis-open.org>
>
--
--------------------------------------
Aaron DaMommio: Husband, father, writer, juggler, and expert washer of
dishes.
- My blog:
http://aarondamommio.blogspot.com- Need a juggler?
http://amazingaaronjuggler.blogspot.com/=======================================