Re: configuring a conditional
The way you're tackling it, you're going to need to build those expressions
My project is a general solution to citation formatting, in which all presentational details are configured in the non-XSL XML language. The example I posted is actually a real-world style -- APA -- I need to support. See:
I suppose another approach would be a named parameter for the logic coupled with a function and/or template? If currently my et al. is configured with a single attribute like:
<names initialize-with=". " shorten-after="3" and-as=" &"/>
... then maybe I have:
<names initialize-with=". " shorten-rule="apa" and-as=" &"/>
The problem is that I'm pretty sure the specifics of these rules can vary a fair bit, at least in fairly trivial areas. For example, APA maybe interested in preserving the first six authors in a list, but another style will be interested interested in the first ten.
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format