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

producing three sets of output from one file

Subject: producing three sets of output from one file
From: Eric K Taylor <eric_k_taylor@xxxxxxxx>
Date: Fri, 29 Mar 2002 11:46:41 -0500
eric k taylor
I'm trying produce three sets of output from one set of data, each of
which are subsets of the preceding.  That is, I have:
    <article audience="A">stuff here</article>
    <article audience="B">stuff here</article>
    <article audience="C">stuff here</article>
    <article audience="A">stuff here</article>
    <article audience="A">stuff here</article>

For audience A, I want to include only the A articles; for audience B, I
want to include both A&B articles, and for audience C, I want to include
them all. I was preparing to just create three different XSL files and
then use Instant Saxon to transform with each XSL. However, since the
output is formatted identically, I suspect there's a much more elegant
way to do it (perhaps passing some parameter when compiling?), but I'm
not sure what I would do.

If this is explainable to a beginner, I'd appreciate any help.  (Or if
this is beyond a beginner's ability, I'd appreciate someone telling me
that... and I'll do the easy three files as I planned and come back to
this at some point in the future.)

Thanks,
Eric

________________________________________________________________
GET INTERNET ACCESS FROM JUNO!
Juno offers FREE or PREMIUM Internet access for less!
Join Juno today!  For your FREE software, visit:
http://dl.www.juno.com/get/web/.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.