RE: [xsl] Container HTML around recursive collection

Subject: RE: [xsl] Container HTML around recursive collection
From: "Silvans" <divaqs@xxxxxxxxx>
Date: Wed, 20 Jun 2001 02:38:07 -0700
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:

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.

David S.

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

>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

Do You Yahoo!?
Get your free address at

 XSL-List info and archive:

Current Thread