Subject: Re: [xsl] Data structure in XSLT? From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Tue, 23 Apr 2002 14:40:58 -0400 |
Cheers, Wendell
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
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Data structure in XSLT?, Charles Chan | Thread | Re: [xsl] Data structure in XSLT?, Charles Chan |
Re: [xsl] passing parameter to an X, Joerg Heinicke | Date | Re: [xsl] Data structure in XSLT?, Thomas B. Passin |
Month |