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

RE: Container HTML around recursive collection

Subject: RE: Container HTML around recursive collection
From: "Silvans" <divaqs@xxxxxxxxx>
Date: Wed, 20 Jun 2001 02:38:07 -0700
container html
Hi Chris,

I am sorry my code is so ugly. I really am a novice at XSL.

I am afraid that I still don't see how the dirTOxml example relates since it relies on  <xsl:apply-templates> and <xsl:template match=????>. I thought that this would not work with things like:
<item>
  <item/>
  <item/>
  <item/>
    <item/>
    <item/>
  </item>
  <item/>
</item>

I can summarize the problem as being that we have a Template that:
A) writes opening DIV HTML
B) calls another template for each item with children
C) writes closing DIV HTML

The problem is that the DIV HTML does not surround the whole group of children, but rather there is a DIV around each of the individual children.

Thanks
David S.

On 6/20/01 at 10:10 AM Chris Bayes wrote:

>David
>I didn't look at your code it looked horrendous but the idea does what you
>want. Look at the dirTOxml utility in the utilities section. There is a
>stylesheet in there to give a treeview of a directory structure and you
>can't get a more extreme version of your problem than a directory tree.
>
>Ciao Chris
>
>XML/XSL Portal
>http://www.bayes.co.uk/xml
}


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


 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.