Download presentation
Presentation is loading. Please wait.
Published byMildred Park Modified over 9 years ago
1
XML XSLT Variables & parameters Feb 20, 2006
2
Variables ● More like an algebraic variable than a programming variable ● Think of it as similar to a constant in a programming language ● Use when you have a value that is used multiple times in a stylesheet and it is conceivable that you might want to change all values
3
<!--This example illustrates the use of variables and formats Written by Richard Watson - rwatson@terry.uga.edu - Feb 2006--> red Tour Guide Cities City: Population: Country:
4
Parameters ● A parameters is like a variable ● Treated as a default value ● Can be overridden at run time ● Change one line – blue ● NetBeans does not support passing of parameters to the transformation engine
5
Exercise ● Modify one of your existing stylesheets to use a variable
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.