[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Implementing Conditional Text

Subject: Re: Implementing Conditional Text
From: Graydon <graydon@xxxxxxxxx>
Date: Tue, 12 Jun 2012 18:16:56 -0400
Re:  Implementing Conditional Text
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.