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

RE: Data structure in XSLT?

Subject: RE: Data structure in XSLT?
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Tue, 23 Apr 2002 22:22:09 +0100
xslt data structures
You need to read up about Muenchian grouping in your favourite XSLT textbook
or at www.jenitennison.com/xslt/grouping

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of
> Charles Chan
> Sent: 23 April 2002 18:17
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  Data structure in XSLT?
>
>
> Hi, is there anyway to build some data structure in
> XSLT? I have a sample input file that looks like this:
>
> <Qualifications>
>   <Competency name="Java">
>     <Competency id="programming_language:java"/>
>   </Competency>
>   <Competency name="C++">
>     <Competency id="programming_language:cpp"/>
>   </Competency>
>   <Competency name="C#">
>     <Competency id="programming_language:csharp"/>
>   </Competency>
>   <Competency name="WebLogic">
>     <Competency id="application_server:weblogic"/>
>   </Competency>
>   <Competency name="WebSphere">
>     <Competency id="application_server:websphere"/>
>   </Competency>
> </Qualifications>
>
> The output I want is:
>
> programming_language:
> Java, C++, C#
>
> application_server:
> WebLogic, WebSphere
>
> The Competency elements can be in any order. I was
> thinking it would be nice if I have the luxury to use
> a hash map or something like that.
>
> Any idea?
>
> Thanks
> Charles
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Games - play chess, backgammon, pool and more
> http://games.yahoo.com/
>
>  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-2011 All Rights Reserved.