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

RE: re: Change an XSLT top-level parameter

Subject: RE: re: Change an XSLT top-level parameter
From: "Chris Bayes" <chris@xxxxxxxxxxx>
Date: Mon, 12 Nov 2001 15:26:10 -0000
xslt change parameter
Robert,
Thanks for hacking my code around ;-)
Why are you so set against javascript? If you use javascript you can
modify the changestylesheet powertoy or use a javascript extension to
get the querystring from the request as explained in the A to B
tutorial.

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 
> Robert Stuart
> Sent: 12 November 2001 12:26
> To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
> Subject:  re: Change an XSLT top-level parameter
> 
> 
> Thanks to David Carlisle, and Jenni Tennsion
> 
> The combination of your suggestions plus a hack of Chris 
> Bayes 'XML/XSL Portal' gave me a workable, and (moderately) 
> flexible solution:
> 
> I now have one DATA sheet (.xml), one style sheet (.xslt), 
> plus any number of caller xml sheets (.xml).
> 
> The caller (my term but it's ugly); caller xml's are named 
> for their role (caller_detail.xml, caller_summary.xml &c), 
> and 'know' about the other sheets in the project.
> 
> ####################
> 
> <?xml-stylesheet type="text/xsl"  href="stylesheet.xslt"?> 
> <!DOCTYPE top_level_element [
> 	<!ENTITY main SYSTEM "data.xml">
> ]>
> <top_level_element title="XML Main" id="page">
> 	<!-- use these nodes to populate the style sheet variables -->
> 	<!-- in my case, mode controls display -->
> 	<mode>Detail</mode>
> 
> 	<!-- this simply gives me a 'project' name for a set of 
> calling files -->
> 	<caller>caller_</caller>
> 
> 	<pagemain>
> 	&main;
> 	</pagemain>
> </top_level_element>
> 
> ##########################
> 
> 
> Note, this gets around the problem of a large data sheet 
> having hard coded information - though it breaks my one XML 
> sheet only rule.
> 
> 
> 
> Date: Fri, 9 Nov 2001 09:07:43 -0000 
> From: Robert Stuart <Robert.Stuart@xxxxxxxxxxxxxxxxx>
> Subject: Re:  Change an XSLT top-level parameter
> 
> I was hoping for something like ...
> 
> [snip]
> 
> ================
> 
> Date: Thu, 8 Nov 2001 17:01:18 GMT
> From:  <davidc@xxxxxxxxx>
> Subject: Re:  Change an XSLT top-level parameter
> 
> > Is there any way I change an XSLT top-level parameter from 
> the client 
> > side without using java script?
> 
> [snip]
> 
>  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.