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

Re: can a value of a parameter depends on a other valu

Subject: Re: can a value of a parameter depends on a other value
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 01 Dec 2011 12:08:30 +0000
Re:  can a value of a parameter depends on a other valu
On 01/12/2011 11:43, Roelof Wobben wrote:

No problem.

This part I wrote myself so that part i understand.

Good, that was step 1, step 2, getting the values of $page from your cms and printing it out will be specific to that system so you will need to ask in a forum for that system.

within the xslt you need
<xsl:param name="page"/>

as (typically) the first child of xsl:stylesheet.
that will declare page as a parameter to your stylesheet and allow you to use $page in xpath. But how you pass the value of the parameter in to your stylesheet is system dependant, and I have no experience of teh system you are using.

> Are there any practices on internet so I can practice with conditional test ?

don't try step 3 (conditionals) until you have the values that you want to test.


google plus: https:/profiles.google.com/d.p.carlisle

The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. ________________________________________________________________________

Current Thread


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.
First Name
Last Name
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.