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

rookie xmlt transformation question

Subject: rookie xmlt transformation question
From: lkwan@xxxxxxxxxx (Leon Kwan)
Date: Wed, 19 Apr 2000 18:46:25 -0700
xmlt
Hi,  I'm trying to do what seems like a simple
transformation, but I can't seem to figure out
the easiest way to do this?  I've looked at the
xml faq and have tried different methods such as
<xsl:for-each ..> but it seems really messy. I
am trying to go down the tree node and print
all the information up to that node.
 
I want to transform something from this:
 
<department>
  <group>
    <name>Science department</name>
      <employee>
      <name>Alex</name>
      </employee>
      <employee>
      <name>Philip</name>
      </employee>
  </group>
  <group>
    <name>Math department</name>
      <employee>
      <name>Dennis</name>
      </employee>
  </group>

</department>
 
to this:
 
Science department | Alex
Science department | Philip
Math department | Dennis
 
Any help or pointers would be really appreciated!
Thanks,
 
leon
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.