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

RE: Looking for the rigth select statement

Subject: RE: Looking for the rigth select statement
From: TSchutzerWeissmann@xxxxxxxxxxxxxxxx
Date: Thu, 28 Nov 2002 15:48:58 -0000
rigth of the worker
hi Sorin,

>From the output you have you've done most of the work. What does your
current xslt look like? 
Tom
Also, have a look at http://www.jenitennison.com/xslt/grouping/index.html 

> -----Original Message-----
> From: Sorin Marti [mailto:mas@xxxxxxxxxx]
> Sent: 28 November 2002 15:39
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  Looking for the rigth select statement
> 
> 
> Hi all,
> 
> I asked about "selecting multple elements only once"... With 
> your help, 
> I've got following output now:
> 
>                     departement1 departement2  departement3  
> departement4
> Manager      
> Assistant
> Employee
> Worker
> 
> that's from this xml-source:
> 
> <departement name="departement1">
>  <profession>
>    <desc>Manager</desc>
>    <salary>5000</salary>
>  </profession>
> 
>  <profession>
>    <desc>Assistant</desc>
>    <salary>3000</salary>
>  </profession>
> 
>  <profession>
>    <desc>Employee</desc>
>    <salary>2000</salary>
>  </profession>
> </departement>
> 
> <departement name="departement2">
>  <profession>
>    <desc>Manager</desc>
>    <salary>6000</salary>
>  </profession>
> 
>  <profession>
>    <desc>Worker</desc>
>    <salary>2000</salary>
>  </profession>
> </departement>
> 
> [...]
> 
> Now I want to select the salary and put it to the right 
> position. Output 
> should be following:
> 
>                     departement1 departement2  
> Manager       5000                6000
> Assistant       3000                  ...            <!-- 
> "..." because 
> there is no assistant in departement2-->
> Employee     2000                  ...            <!-- "..." because 
> there is no Employee in departement2-->
> Worker          ...                    2000         <!-- 
> "..." because 
> there is no Worker in departement1-->
> 
> 
> Thanks very much
> 
> Sorin Marti
> 
> 
>  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.