xsl-list
[Top] [All Lists]

Re: [xsl] Implementing Conditional Text

2012-06-12 17:17:07
On Tue, Jun 12, 2012 at 08:39:28PM +0000, Craig Sampson scripsit:
We, our publications XML support group, are being asked to support
conditional text in our source documents.

As a general rule, conditional text such as you are describing is a
property of an output format, rather than a property of the content.
(When it's a property of the content, you start getting into concepts
like audience-specific processing and so on.)

Try to keep the conditional text out of the content and in the output
processing; there's nothing that says you can't have a list of
conditional text and positions to put it that gets processed for a
specific output type.

-- Graydon

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--