Subject: Re: [xsl] indenting text with <dl> and <dd> hack From: Peter Flynn <peter@xxxxxxxxxxx> Date: Thu, 29 Mar 2001 13:31:43 +0100 |
At Thursday, 29 March 2001, you wrote: >I am trying to use the <dl> and <dd> hack to generated indented >html. This is my xml: > ><indent> > <a>Item1.0</a> > <a>Item1.1</a> > <a>Item1.2 > <a>Item1.2.1</a> > <a>Item1.2.2</a> > <a>Item1.2.3</a> > </a> > <a>Item1.3</a> > <a>Item1.4 > <a>Item1.4.1</a> > <a>Item1.4.2</a> > </a> ></indent> > >This is what I want as html output: > ><dl> > <dd>Item1.0</dd> > <dd>Item1.1</dd> > <dd>Item1.2</dd> <--- Remove this </dd> > <dl> > <dd>Item1.2.1</dd> > <dd>Item1.2.2</dd> > <dd>Item1.2.3</dd> > </dl> <--- put it here, otherwise you won't have a nested list. > <dd>Item1.3</dd> .. ///Peter XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] indenting text with <dl> , Jeni Tennison | Thread | [xsl] xHTML to WML, paulhoward.co.uk |
Re: AW: [xsl] Passing XML in parame, Francis Norton | Date | Re: [xsl] indenting text with <dl> , Jeni Tennison |
Month |