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

RE: Passing Parameters between stylesheets

Subject: RE: Passing Parameters between stylesheets
From: "Chris Bayes" <Chris@xxxxxxxxxxx>
Date: Tue, 10 Apr 2001 17:19:27 +0100
passing parameters between stylesheets
Tanz,
Have a look at
http://www.bayes.co.uk/xml/index.xml?/xml/tutorial/paging/paging.xml for a
way to do this. It uses pagenumbers but it could just as easily be names

Ciao Chris

XML/XSL Portal
http://www.bayes.co.uk/xml


>-----Original Message-----
>From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
>[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Tanzila
>Mohammad
>Sent: 10 April 2001 16:47
>To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
>Subject:  Passing Parameters between stylesheets
>
>
>
>I am new to xsl, looking for a little help. I have 2 xsl files both
>representing a table in html. The first represents an intermediate output
>and the second more detailed information. The sample xml is as follows:
><PersonRecord>
>		<Name>----</Name>
>		<EMail>----</EMail>
>            <ShortDescription>----</ShortDescription>
>            <Organisation>---</Organisation>
>		<Position>----</Position>
>            <View>View</View>
></PersonRecord>
>
>html output 1 displays a table as follows:
>name    email    view
>person1  ....    icon
>person2  ....    icon
>etc
>
>html output2 should be displayed when you click on a view icon for a
>particular person
>
>name   personx
>email   -----
>short description ----
>position  -----
> etc...
>
>At the moment I have the code for the stylesheets but I am having problems
>with achieving output 2 without hardcoding it i.e.
><xsl:for-each select="PersonRecord[Name='Freddie Johnnsen']"> to get just
>Freddie's result.
>
>It is the passing of parameters via the icon to the new stylesheet in a
>generic way to produce the desired output which is problematic.
>
>Thanks
>Tanz
>
>
> XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


 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.