[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSL for structural transformations
Rakesh Mohan wrote: > > I am trying to understand the scope of the structural transformations that > can be performed > using XSL (previous or forthcoming draft). > > In XSL can I: > > (1) Reverse a list > i.e. <x><y>1</y><y>2</y>...<y>n</y></x> > to <x><y>n</y><y>n-1</y>...<y>1</y></x> for any i > (2) Transpose a table (rows to columns, columns to rows). XSL includes a full programming language. The complexity of your conversions is not bounded. > Are there any mechanism to bind values to variables in the pattern section > so that these variables > can then be used in the action section? There is no need for this. All of the information available in the pattern section (and much, much more) is available to the expression language (JScript) in the action section. What you describe might be useful as a convenience feature, though. Paul Prescod - http://itrc.uwaterloo.ca/~papresco The occasional act of disrespect for the American flag creates but a flickering insult to the values of democracy -- unless it provokes America into limiting the freedoms that are its hallmark. -- Paul Tash, executive editor of the St. Petersburg Times XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|