I'd use one of the available profiling attributes, perhaps role or
condition make most sense in this instance?
http://docbook.org/tdg/en/html/ref-elements.html#common.attributes
http://www.sagehill.net/docbookxsl/Profiling.html
Best regards,
--Scott
Scott Hudson
Senior XML Architect
e: [email protected]
O: 303.542.2146
C: 303.332.1883
F: 303.544.0522
http://www.FlatironsSolutions.com
Vision. Experience. Engineering Excellence.
David E Nedrow wrote:
I would like to be able to mark certain elements for redaction and
then have those elements specially handled during the transformation.
For example, given the following...
<mediaobject>
<imageobject>
<imagedata scalefit="1" fileref="./figures/
Shield.gif" scale="100"/>
</imageobject>
</mediaobject>
...or...
<para>Blah, blah, blah</para>
I would like to mark the mediaobject and paragraph for optional
redaction, such that if a variable (redact=1) is passed to the
transformation, the elements marked for redaction are replaced with
text like "REDACTED".
It looks like this might be similar to paragraph numbering as
documented in Bob's book, but wondered if anyone has already done this
and might want to post their solution.
-David
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]