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

Re: walking a tree

Subject: Re: walking a tree
From: florian <csshsh@xxxxxxxxxxxxxxx>
Date: Thu, 5 Jun 2003 17:22:49 +0200
Re:  walking a tree

On Donnerstag, Juni 5, 2003, at 04:40 Uhr, David Carlisle wrote:




       <object>
         <name>apple</name>
         <size>2</size>
         <id>1</id>
       </object>
       <object>
         <name>orange</name>
    ....

i would like to literaly create a tree out of this data.

You mean you want to take that document and grow an orchard?
I fear that is a transformation too far, even for XSLT...

actually im pretty close to have it done..


i have a named template which takes the current object node and
the display node as a argument..

now there is only one problem. it can look like this...

...
<display>
  <property field="name" />
  <text> -- </text>
  <property field="size" />
</display>


it would be perfectly fine if there would be only property nodes in the display...



arg. and the output should look like::

apple - 2
   orange - 5

orange - 5


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.