Subject: Re: From flat structure to a tree From: Holger Klawitter <holger@xxxxxxxxxxxx> Date: Fri, 04 Feb 2000 11:53:21 +0100 |
Not really thought through, but it should work if you do the following instead of process-children: * Get the node-list of the children of the current node. * Make a list of lists out of them each starting with h1. (Involves Scheme programming). * Call (make element gi: "div" (process-node-list sublist)) for each sublist. * Apply the same thing recursively for H2, H3, ... You will have to replace the default rule with something along these lines - not the h1 rule. Regards, Holger Klawitter -- Holger Klawitter +49 (0)251 484 0637 holger@xxxxxxxxxxxx http://www.klawitter.de/ DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
From flat structure to a tree, Jany Quintard | Thread | Re: From flat structure to a tree, Brandon Ibach |
From flat structure to a tree, Jany Quintard | Date | Re: From flat structure to a tree, Brandon Ibach |
Month |