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

one xml file + one xsl file => user based output

Subject: one xml file + one xsl file => user based output
From: Zenina Huskic <zehuskic@xxxxxxxxx>
Date: Tue, 6 Aug 2002 06:51:56 -0700 (PDT)
zenina
Hello!
I'm a student at the Salzburg University, and have the
following problem:
We have to implement a system, which is able to
generate html pages dynamically.
We have xml, xsl and cocoon available, and have to use
them to achieve a user/profile based transformation of
an xml file to html file. This means that
depending on the group to which the user belongs to,
the html file will be generated. We have three groups
of users: adiministrators, professors and students.
There must be only one xml file, containing all
information. We thought about the following xml file
structure:
                   <document>
                      <section>
                           <admin>
                             ...
                                   <professor>
                                   .....
                                           <student>
                                            ......
                                           </student>
                                   ....
                                   </professor>
                           .....
                           </admin>
                      </section>

                      <section>
                        .
                        .
                      </section>
                        .
                        .
                        .
                   </document>

since the admin should get all of the information from
the file available, professor should get less, and a
student the least. 

Is there a way to generate a user(group) specific html
output by means of one xml and one xsl file?  
Is there a way to pass parameters to xsl file, before
transformation?

 Any help is appreciated!
 Zenina

__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

 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.