|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Container HTML around recursive collection
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








